diff options
author | Karel Zak | 2012-04-05 15:58:02 +0200 |
---|---|---|
committer | Karel Zak | 2012-04-05 15:58:28 +0200 |
commit | 4f469e588df4f2867bd575a4c899135a9a41e9c4 (patch) | |
tree | 38315dc405e5730b125778b7991d73f114416c57 /include/pathnames.h | |
parent | lsblk: count with terminating character, man page -s entry (diff) | |
parent | tests: use eject --force (diff) | |
download | kernel-qcow2-util-linux-4f469e588df4f2867bd575a4c899135a9a41e9c4.tar.gz kernel-qcow2-util-linux-4f469e588df4f2867bd575a4c899135a9a41e9c4.tar.xz kernel-qcow2-util-linux-4f469e588df4f2867bd575a4c899135a9a41e9c4.zip |
Merge branch 'eject'
* eject: (47 commits)
tests: use eject --force
eject: use BUILD_EJECT, move to sys-utils
eject: clean up usage()
eject: clean up man page
eject: add --force option
eject: check for hotplug/removable attribute
eject: remove obsolete code, use EXIT_* macros
tests: add umount-by-eject tests
eject: improve work with partitioned devices
lib/sysfs: improve sysfs_is_partition_dirent()
eject: call umount <mountpoint> rather than <device>
eject: use libmount to detect if cdrom is mounted
eject: make the code robust
eject: use SG_IO ioctl for scsi
eject: support CDIOCEJECT ioctl
eject: new close_tray code from Fedora
eject: new auto_eject code from Fedora
eject: add -X from Fedora
eject: add --manualeject from fedora
eject: clean up devname usage
...
Diffstat (limited to 'include/pathnames.h')
-rw-r--r-- | include/pathnames.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pathnames.h b/include/pathnames.h index 299d922eb..1757044f5 100644 --- a/include/pathnames.h +++ b/include/pathnames.h @@ -81,6 +81,7 @@ #define _PATH_PROC_DEVICES "/proc/devices" #define _PATH_PROC_MOUNTINFO "/proc/self/mountinfo" #define _PATH_PROC_LOCKS "/proc/locks" +#define _PATH_PROC_CDROMINFO "/proc/sys/dev/cdrom/info" #define _PATH_SYS_BLOCK "/sys/block" #define _PATH_SYS_DEVBLOCK "/sys/dev/block" |