aboutsummaryrefslogtreecommitdiffstats
path: root/sys-utils/eject.c
AgeCommit message (Expand)AuthorFilesLines
4 dayseject: fix const qualifier warning in read_speedHEADmasterKarel Zak1-1/+1
2025-10-15treewide: use is_dotdir_dirent() helperKarel Zak1-1/+2
2025-05-13treewide: add ul_ to parse_switch() function nameKarel Zak1-2/+2
2025-05-05strutils: move an error message to where it is used, and improve itBenno Schulenberg1-4/+2
2024-11-20Drop pointless bitfieldsZbigniew Jędrzejewski-Szmek1-21/+21
2024-08-27fix it's vs. its, and some adjacent errorsmr-bronson1-1/+1
2023-10-25Make the ways of using output stream consistent in usage()Masatake YAMATO1-2/+2
2023-01-24eject: also use sysfs_blkdev_is_removableThomas Weißschuh1-4/+4
2022-04-25eject: update file provenance of DRIVER_SENSE in the commentsEnze Li1-1/+1
2021-06-24misc: improve string to number conversionsKarel Zak1-3/+3
2021-06-22eject: do not use atoi()Karel Zak1-9/+9
2021-06-21include/c: add drop_permissions(), consolidate UID/GID resetKarel Zak1-6/+2
2021-06-18eject: add __format__ attributeKarel Zak1-2/+4
2021-02-01eject: cleanup before successful exitKarel Zak1-9/+12
2020-10-29cast NULL to char * when using execlEgor Chelak1-2/+2
2020-05-18docs: Fix dead references to kernel documentationYannick Le Pennec1-1/+1
2020-04-22eject: fix compiler warning [-Wformat-overflow]Karel Zak1-1/+1
2020-04-20[clang-tidy] do not use else after returnRosen Penev1-6/+5
2019-08-22eject: use O_EXCL on defaultKarel Zak1-3/+17
2019-04-16misc: consolidate version printing and close_stdout()Karel Zak1-7/+5
2019-02-18docs: fix typos [codespell]Sami Kerola1-1/+1
2018-11-05eject: use err() rather than abort()Karel Zak1-1/+1
2018-06-21fstrim: use new ul_path_* APIKarel Zak1-12/+15
2018-02-01sys-utils: use errexec()Karel Zak1-1/+1
2017-11-28eject: remove list_speeds() #ifdef CDROM_SELECT_SPEED protectionSami Kerola1-4/+0
2017-06-29misc: consolidate macro style USAGE_HELP_OPTIONSRuediger Meier1-2/+2
2017-06-27misc: introduce print_usage_help_options()Ruediger Meier1-2/+1
2017-06-26misc: cosmetics, remove argument from usage(FILE*)Ruediger Meier1-3/+4
2017-02-20misc: do not use plain 0 as NULL [smatch scan]Sami Kerola1-2/+2
2016-12-19Use --help suggestion on invalid optionKarel Zak1-2/+1
2015-02-24eject: use parse_switch()Sami Kerola1-12/+4
2015-01-07eject: add verbosity to cdrom door lock errorSami Kerola1-8/+11
2015-01-06textual: add a docstring to most of the utilitiesBenno Schulenberg1-1/+3
2014-12-02eject: use sysfs API to detect hotplugKarel Zak1-105/+1
2014-11-19build-sys: move all around clock_gettime() to monotonic.cKarel Zak1-1/+1
2014-11-18misc: use monotonic time rater than gettimeofdayKarel Zak1-2/+3
2014-10-20eject: move unreachable code to preprocessor #else block [smatch scan]Sami Kerola1-4/+4
2014-09-19eject: make open_device() and select_speed() to use struct eject_controlSami Kerola1-29/+25
2014-09-19eject: add struct eject_control to remove global variablesSami Kerola1-196/+198
2013-08-21misc: use libmnt_table reference counterKarel Zak1-5/+5
2013-08-21misc: use libmnt_cache reference countingKarel Zak1-2/+3
2013-07-09eject: assigned value is never read [clang-analyzer]Sami Kerola1-1/+1
2013-06-18eject: Check host_status and driver_status when using SG_IO.Karel Zak1-3/+21
2013-06-13eject: unlock door before issuing CDROMEJECT commandAaron Lu1-0/+3
2013-02-06eject: remove a duplicate command name from error messageSami Kerola1-1/+1
2012-10-23misc: make readlink() usage more robustKarel Zak1-1/+1
2012-10-22libmount, eject: replace index() and rindex() with strrch() or strrchr()Sami Kerola1-1/+1
2012-09-07eject: robust strings usage [coverity scan]Karel Zak1-2/+2
2012-08-13eject: return proper 0/1 from eject_cdrom()Dave Reisner1-5/+5
2012-07-26eject: fix shadow declarationSami Kerola1-1/+0
2012-07-16eject: fix compiler warning [-Wmissing-prototypes]Karel Zak1-1/+1
2012-07-16translation: unify file open error messagesSami Kerola1-2/+2
2012-06-15Merge branch '2012wk23' of git://github.com/kerolasa/lelux-utiliteetitKarel Zak1-0/+8
2012-06-13eject: cleanup umount codeKarel Zak1-19/+19
2012-06-13eject: don't try to use non-device pathKarel Zak1-1/+8
2012-06-13eject: add --no-partitions-unmountKarel Zak1-23/+41
2012-06-11eject: inform if CD-ROM drive is not readySami Kerola1-0/+8
2012-05-18eject: allow to address device by LABEL/UUIDKarel Zak1-2/+5
2012-04-23eject: verify writing to streams was successfulSami Kerola1-0/+2
2012-04-10eject: close open file [cppcheck]Sami Kerola1-0/+1
2012-04-10eject: inform why open failedSami Kerola1-1/+1
2012-04-10eject: use CDROM_DRIVE_STATUS if available for tray togglingMike Frysinger1-20/+32
2012-04-10eject: constify arrayMike Frysinger1-1/+1
2012-04-05eject: use BUILD_EJECT, move to sys-utilsKarel Zak1-0/+1082