Bug 476379
Summary: | vol_id is not found in $PATH contrary to vol_id(8) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | D. Hugh Redelmeier <hugh> |
Component: | udev | Assignee: | Harald Hoyer <harald> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 10 | CC: | harald, hugh, kay.sievers |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-01-20 11:39:04 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
D. Hugh Redelmeier
2008-12-13 21:18:55 UTC
Kay, should we provide a symlink or do you add the full path to the manpage? Everything in /lib/udev/ is a private implementation to udev, and not supposed to be called by anything else. Sure, it does not hurt using it, but nothing can rely on anything here to always be there. In fact, in the next months we plan to delete /lib/udev/vol_id without further notice, as soon as we successfully merged libvolume_id and libblkid to a single filesystem probing library. Creating symlinks or moving things from /lib/udev to /sbin is plain wrong for the mentioned reason. I have no problem just deleting the man pages, if that causes misunderstandings for anybody. What is the stable / "official" way of finding UUIDs? Googling got me to vol_id. "man -k uuid" lists only vol_id(8). Why did I want to know a partition's UUID? To manually create fstab entries. I'm all for standard, stable, documented, public interfaces. Each of those attributes is important. FWIW Ubuntu 8.10 has a symlink from /sbin/vol_id to /lib/udev/vol_id. (In reply to comment #3) > What is the stable / "official" way of finding UUIDs? Googling got me to > vol_id. "man -k uuid" lists only vol_id(8). In the future it will be /sbin/blkid, if all works out as planned. > Why did I want to know a partition's UUID? To manually create fstab entries. > > I'm all for standard, stable, documented, public interfaces. Each of those > attributes is important. Sure, I understand. But the private udev helper vol_id is not such an interface, you can use it but not depend on it beeing there in a future release. I hope /sbin/blkid will be fine after the merge. > FWIW Ubuntu 8.10 has a symlink from /sbin/vol_id to /lib/udev/vol_id. It was in /sbin when we started with this, but it moved to the private directory long ago for the reason it may change or even go away without notice. Creating such a symlink is not the right thing. |