Gentoo Archives: gentoo-user

From: Francisco Ares <frares@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] [OT] auto mounting and umounting flash drives using udev rule
Date: Mon, 16 Jun 2014 19:58:53
Message-Id: CAHH9eM5ht9v=bZ2fScLFRLzBcrU+Bxgnmeg_rTktr-Eza6zM+w@mail.gmail.com
1 Hi,
2
3 Looking for alternatives on the subject, I've found this:
4
5 http://www.unixli.com/q/answers-automount-usb-sticks-on-gentoo-78276.html
6
7 It looks good, for now, it creates a directory named after the VFAT
8 partition name under "/media" and then it mounts the flash drive on it.
9
10 Regarding umounting, it umounts the drive after it is removed, which looks
11 strange (to say the least) to me.
12
13 Did I miss something? Or, in other words, is there a way of forcing
14 operations on a usb flash media to always flush buffers and/or caches as
15 fast as possible?
16
17 Thanks,
18 Francisco

Replies