Hi,
Has anyone played around with Tiny Core Linux?
I'm trying to build a custom distro using TC and am managing to sort out most
things OK. One thing I'm struggling with is getting the system to automatically
mount a USB Stick when I plug it in. The FAQs on the TC website give some
information (see http://tinycorelinux.com/faq.html#pendrives), but that seems
to be aimed at mounting particular drives, eg ones for which you already have a
UUID or Label name. What I want to do is to quickly mount *any* drive that I
might chose to put in.
At the moment I can do it by sticking the drive into the hole and then writing:
$ blkid
which tells me the device name and label, etc of the particular device plugged
in, eg /dev/sda: LABEL="Stick" UUID="AAAA-FFFF" TYPE="vfat".
I then have to create a mount point in /mnt, eg /sda, then I can write:
$ mount -t vfat /dev/sda /mnt/sda
which works.
I've tried adding a line to fstab to support /sda, but TC rebuilds fstab at each
reboot and creates mountpoints in /mnt from the (now rewritten) version.
Is there anything I can do to improve on this?
--
Next meeting: The Broadway, Bournemouth, Tuesday 2010-12-14 20:00
Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/
How to Report Bugs Effectively: http://goo.gl/4Xue