WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Recent Posts

Pages: [1] 2 3 ... 10
1
TCB Bugs / Re: mnttool: notice on failed umount, sync w/ cli umount?
« Last post by nitram on Today at 04:28:37 AM »
Just tested in dCore, believe TC6 behaves similarly with NTFS. Added  ntfs-3g  to boot list, rebooted, fstab still read-only for NTFS:
/dev/sda1       /mnt/sda1       ntfs     noauto,users,exec,ro,umask=000 0 0 # Added by TC

Using  mnttool  to mount sda1 results in read-only mount:
touch: cannot touch 'testy': Read-only file system

Umount /dev/sda1 through  mnttool  , manually run  sudo rebuildfstab  still read-only.

Does not appear  rebuildfstab  or  mnttool  recognizes  ntfs-3g  on my system.

@dentonlt: A C++ timeout/reload example from MFMR:
Code: [Select]
#define TIMEOUT_RELOAD 5

/**************************************************************************
*
* Function: idle_function
*
* function to call every TIMEOUT_RELOAD seconds during idle
*  - refresh mount list
*
****************************************************************************/

void idle_function (void *) {

  static time_t time = 0;   
 
  struct stat stat_buffer;

  stat("/etc/mtab", &stat_buffer);
 
  if (time == 0)
 
    time = stat_buffer.st_mtime;
   
  else if (stat_buffer.st_mtime > time) {
   
    ptr_mfmmount->find_mounted();

    time = stat_buffer.st_mtime;
   
  }
 
  Fl::repeat_timeout(TIMEOUT_RELOAD, idle_function);

}
2
piCore Test Releases / Re: piCore-8.0beta4
« Last post by bmarkus on Today at 03:56:38 AM »
Test versions work on ALL RPi boards. It is stated in release announcement. Read it!

FAT partition is not loaded to RAM.

Do not use the FAT partition (/dev/mmcblk0p1) other than boot. Keep as it is except customizing command line and config. It is not Linux-friendly and not a journaling file system.
3
TCB Bugs / Re: mnttool: notice on failed umount, sync w/ cli umount?
« Last post by Misalf on Today at 03:31:16 AM »
/usr/sbin/rebuildfstab  already checks for the presence of  ntfs-3g  and creates  /etc/fstab  accordingly. Isn't that used by mnttool?
4
TCB Bugs / Re: mnttool: notice on failed umount, sync w/ cli umount?
« Last post by dentonlt on Today at 03:13:03 AM »
Quote
The fact that it stays green is your warning.

Ha! I'm surprised I hadn't thought of it that way ... You're right, of course.

Quote
Yeah, changing behind its back is not supposed to work really.

Maybe that's the main problem I should address. Or at least first.

Quote
Cherry on top would be to check if  ntfs-3g  is loaded prior to mounting NTFS partitions, then mount them with  ntfs-3g  command so they are read/write not just read-only.

That's a novel idea. I guess the main question is whether that's suitable to include that sort of code inside of stock/base TC? I don't know if we have other tools/areas that add/extend features dependent upon the presence of optional binaries ... ? At face value, that sounds good to me.


5
piCore Test Releases / Re: piCore-8.0beta4
« Last post by mbivol10 on Today at 02:56:23 AM »
Still no GUI available ...
I have few questions and I'm sorry I don't understand much even after reading the book for TinyCore.
My Raspberry Pi is 3B.
But I think that is armv7 yet the test versions being built are under armv6. To me its a huge deal to just know if builts for armv7 are not built because they are the same as armv6 or not? If they are not the same in source code... then whats the difference?

Other question is when I download and then of course make space for the second partition, as ext4 why is this second partition needed? would it not be better to just extend the fat partition instead? Also I know that the fat partition is loaded into ram and then no changes can be made unless you tell it not to load into ram or you mount it and then make changes. How can I make it not load into ram? is it a boot code ? or what should I do? I couldn't figure it out after reading the book.
6
TCE Bugs / Re: lightpd missing dependencies?
« Last post by bmarkus on Today at 01:00:10 AM »
monkey is powering tinycorelinux.net (except Forums) and crashing frequently for unknown reason.
7
TCE Bugs / Re: lightpd missing dependencies?
« Last post by xyz-worx on Today at 12:11:57 AM »
Hi donquixote2u

Quote
as an aside, is there another lightweight web server I should try?

To answer your question:

Take a look at the monkey web server:

http://monkey-project.com/

regards
  xyz-worx
8
TCE Talk / Re: Is findshares open source?
« Last post by Misalf on July 24, 2016, 05:14:00 PM »
I'm fine with omitting ppp.
Even though I don't actually know, I doubt Point-to-Point can be used for "local" networking.
However, if it is possible, say one sets up a private server to dial-up into, I'd guess your tool could be neglected in such a case, as whoever would create a setup like this is probably geeky enough to write his/her own code.
9
TCE Talk / Re: Is findshares open source?
« Last post by Rich on July 24, 2016, 12:41:16 PM »
Hi Misalf
Part of the fix was to leave any ppp device off the list so it's ignored and doesn't get scanned. Are ppp devices strictly
external access (i.e. modem) or do they serve as a LAN interface as well?
10
TCB Talk / Re: paste command is not found
« Last post by imaad on July 24, 2016, 12:24:38 PM »
Hi Misalf and Rich,

Thank you for yours answers. It's work.  ;D
Pages: [1] 2 3 ... 10