FAQ/Howto

From GalliumOS Wiki
< FAQ
Revision as of 00:03, 17 June 2017 by Reynhout (talk | contribs) (Created page with "Some frequently useful configuration options: == Mount a USB drive to a predictable location == (WIP: pasting content from https://paste.ubuntu.com/24558174/, please improve...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Some frequently useful configuration options:

Mount a USB drive to a predictable location

(WIP: pasting content from https://paste.ubuntu.com/24558174/, please improve!)

   ## /etc/udev/rules.d/10-usbdrive.rules
   KERNEL=="sd*", ATTRS{serial}=="0340918060002807", ATTRS{idVendor}=="090c", ATTRS{idProduct}=="1000" SYMLINK+="usb/samsung%n"
   
   ## /etc/fstab
   /dev/usb/samsung1 /media/usb1 ext4 defaults,discard,relatime,nofail 0 2
   
   ## values for serial, idVendor, and idProduct are visible in dmesg output:
   ## run "dmesg -w" while inserting USB drive