Currently, we do our system monitor as:
# udevadm monitor --environment --udevAfter plugging in, say a drive, Ctrl-C out of the new udevadm as quickly as possible since it floods the terminal history with polling updates. Then just scroll-up a bit to get the drive name, eg /dev/sdd. Create the appropriate mount.
A standard mount might be
# mount /dev/sdd -o rw /somefolder
file ownership
Sometimes even udiskie will mount a USB incorrectly and it will be read-only. Simply # umount /dev/sdc1(or whatever), and then remount it with the following.
# mount -o rw,uid=1000,umask=000 /dev/sdc1 /home/foo/mnt
No comments:
Post a Comment