Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've tried doing a chroot command, but it didn't seem to do anything
chmod 777 usually works better. I do it to the root dir of all my EXT4 and F2FS formated pen drives, then they work just like FAT32, with no security nonsense getting in my way.
Crikey Moses! I'm gone for a couple of days and when i come back there's a full conversation taking place.
Hi guys
I would like to thank everyone who took the time to reply, it is very much appreciated. Now allow me to outline the setup I'm using along with some details.
RP Model B
2xSanddisk 64gb
1xGeneric 16gb Chinese flash pen found to actually be 13gb
1xRPI Wireless USB dongle
I run the system headless and only ever connect through SSH via LAN or WAN. This suits me fine, as I only want to use BASH.
For right or wrong reason I used vfat on the usb pens connected to the Pi, the only reason I didn't go for ext4 was because Windows would be unable to read them. I apologise if i caused any confusion by saying fat in my initial post, all the flash drives are formatted in vfat which isn't limited to partitions no larger then 2GB.
One of the issues I had with my Pi was that flash drives appeared read only by default, I'm no linux guru but after some digging I discovered the following works, when enabled in my fstab.
There is one problem having this in the fstab, if you reboot the system with one of the flash drives removed the system throws a wobbly. I'm wondering if I can't avoid this by using the drives UUID instead of "/dev/device", what does anyone think? At this point I'm wondering outside my sphere of knowledge.
@PELinux64
Thanks for that suggestion! I'm going to make a note of that command and give it a try. I might format the smaller 16gb drive to EXT4.
Last edited by haemogoblin; 10-21-2017 at 05:23 AM.
So that it uses UUID's instead, as I dont want a repeat of what happened last time. When I rebooted my server with all the flash drives unplugged, the system threw a hissy fit.
UUIDs are a way to identify the file system since a drive may not always the same device ID.
You can use autofs which will only mount the drive when it is accessed. autofs will also automatically unmount the drive if not accessed after the timeout period has elapsed.
UUIDs are a way to identify the file system since a drive may not always the same device ID.
You can use autofs which will only mount the drive when it is accessed. autofs will also automatically unmount the drive if not accessed after the timeout period has elapsed.
Thanks for that, do you think I could trouble you further for an example?
The flash pens usually stay plugged in to the Pi as they act at the main storage, but god forbid the system ever reboots while one isn't inserted. I would prefer it to boot it, instead of having a panic and booting in to safe mode, like it did recently.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.