Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: jonathanbrickman0000 on November 14, 2010, 03:57:22 PM
-
I searched for and read several posts discussing automount of CDs, DVDs, and USB drives, the consensus appearing to be additions and changes to udev rules, but did not find any examples. Anyone have specifics? Or alternatively, a way to give the 'staff' group permission to use mount/umount? I could do it with chmod +s, but I understand that's generally not preferred.
J.E.B.
-
The default busybox mount and umount allow normal user access to mount and umount supported drives.
-
Aha! I get it; I was missing file systems. OK. I found that an iso9660 ISO mounted AOK, but UDF didn't. I installed filesystems-2.6.33.3-tinycore.tcz, but it still didn't mount the UDF, I still get the little readme.txt. I also put ntfs-3g and fuse in there, but haven't tested them yet. Any thought of how to do UDF?
J.E.B.
-
I'm not sure, but have you tried: sudo mkdir /mnt/whatever ; sudo mount -t udf /dev/whatever /mnt/whatever ?
-
I'm not sure, but have you tried: sudo mkdir /mnt/whatever ; sudo mount -t udf /dev/whatever /mnt/whatever ?
Hadn't tried it with the 'sudo'. Apparently without 'sudo' it won't do UDF, but with 'sudo' it will.
Is there an easy way to give the user permission to do removable-media mounts of all kinds, including iso9660, FAT/FAT32, UDF, ext3, reiser, jfs, and ntfs-3g ? I'm not sure it's enough of a security difference to bother not using 'sudo', but I like to ask anyhow :-)
J.E.B.
-
Good to read that you are making progress. My hunch is that '/usr/bin/rebuildfstab' is not (yet) smart enough to deal with the 'udf' filesystem format. That is not much of a surprise as 'udf' in not part of the Core.
Now, to move things along it would be good to know what 'rebuildfstab' has done so far. So what is the result of: grep whatever /etc/fstab (obviosly using the device name instead of 'whatever' ;D)
-
I might have overlooked that detail, but wondering, do you intend to mount UDF readonly or read/write?
-
Definitely readonly, ditto iso9660. They will be real readable disks only :-), no images, no burners.
The rest of the filesystems do need to be read/write, which means I may not be able to quite do it all (I understand about ntfs-3g), but I do wonder if the 'coreutils' mount knows how to integrate ntfs-3g like Fedora's; that would be just dandy. Isn't ntfs-3g still a user-level fuse filesystem?
The /etc/fstab line is:
/dev/hdc /mnt/hdc auto noauto,users,exec 0 0 # Added by TC
-
Definitely readonly, ditto iso9660. They will be real readable disks only :-), no images, no burners.
iso9660 is a readonly file system, while UDF is a read/write file system, but there is more procedure involved than simple mounting to actually be able to write to UDF formated disks, that is why I asked what is intended.
-
Gotcha. I had to bone up on UDF, I see what you mean. No, we definitely don't need to go there :-)
-
Starting from 2.6.26 Linux fully support all versions of UDF, so why am I still getting "unknown filesystem type 'udf'" when mounting udf based iso in TinyCore? Is TinyCore kernel specially built to omit UDF support?
-
Hi vincentyu1130
Did you install the filesystems extension?
-
I couldn't find anything related to udf with app browser. I'll try lsmod to see of udf is present in the kernel.
-
I couldn't find anything related to udf with app browser. I'll try lsmod to see of udf is present in the kernel.
Do as Rich advised. Install the filesystems-KERNEL.tcz extension (replace KERNEL with version matching your system)
-
Done as said. Works fine now!!
Thanks.