User: Password:
Subscribe / Log in / New account

User-friendly disk names

User-friendly disk names

Posted Jul 22, 2011 14:20 UTC (Fri) by kevinm (guest, #69913)
Parent article: User-friendly disk names

What would happen if we mount: /dev/disk/by-pretty/foo and some tool later thinks the pretty name should better be 'bar', it writes the name to /sys, we get a uevent, the old link disappears, we get a new link, mount has no device node anymore for the mounted device ...

Why not just return EPERM for a name change if the device is currently open (including mounted)?

(Log in to post comments)

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds