[Thinstation-developer] 2.3SVN - Revamp of mount points and all things udev (including profile_setu
Brought to you by:
doncuppjr
From: TrevorB <tre...@us...> - 2011-06-26 01:42:56
|
OK, I have been struggling for a while with the various udev scripts and the weird and wonderful way that TS mounts partitions. This may cause me issues with backlash, but I have changed them to align with the kernel naming standards (not our own convoluted one). You can still mimic all that was there except for the breakdown by partn I have just revamped the udev scripts to: - work - mount all devices in /mnt, but as native (eg. /mnt/sda1) - add in symlinks from /media (eg. /media/cdrom => /mnt/sr0) - symlinks can have generic names (eg. usbdevice = /media/usbdevice, /media/usbdevice1, etc.) - different for usb & disc - allow a different directory to be used for the symlinks for both discs and usbdevices (eg. /media/disc/sda1 or /media/usbdevice/sdc1) - allow the use of the volume label as the symlink name (eg. /media/trevors_usb) profile_setup has been revamped as well: - allow STORAGE_CONFIG parameters to look for generic (eg. STORAGE_CONFIG1=/media/sd will look on all /media/sd* items) - I have removed the 8 retries for slow usbsticks (but it's easy to add back in if we find some that still cause issues). NOTE: STORAGE_CONFIGx=/mnt/disc/hda/part1 won't find anything, but either /media/sda1 or /mnt/sda1 will..... conf/master.conf.sample & conf/storage.conf.sample have been updated with the changes I'm sure that there will be a few hiccups, but it is working well with my setups where I have multiple hard drives, usb drives and cdroms. Enjoy -- TrevorB +===================== Developer http://thinstation.org +===================== |