lkml.org 
[lkml]   [2022]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] cdrom: do not print info list when there is no cdrom device
On Mon, Apr 11, 2022 at 10:51:28AM -0600, Jens Axboe wrote:
> > 20 -- Modify sysctl/proc interface. I plan on having one directory per
> > 21 drive, with entries for outputing general drive information, and sysctl
> > 22 based tunable parameters such as whether the tray should auto-close for
> > 23 that drive. Suggestions (or patches) for this welcome!
> > ================================================
> > I'd like to know if the relevant patches are still welcome?
> >
> > IIUC, the TODO List says that we need to implement a modification of the
> > following form:
> > ----------------------------------------------------------------------------------------------------------
> > $ tree /proc/sys/dev/cdrom
> > /proc/sys/dev/cdrom
> > |--sr0--autoclose
> > | |-autoeject
> > | |-check_media
> > | |-debug
> > | |-info
> > | |-lock
> > |
> > |--sr1--autoclose
> > | |-autoeject
> > | |-check_media
> > | |-debug
> > | |-info
> > | |-lock
> > |
> > |--sr2 ...
> > .
> > .
> > .
> > ----------------------------------------------------------------------------------------------------------
> > I would appreciate it if you could give me some advice.
>
> Let's not do that, this advice is perhaps 20 years old. /proc isn't to
> be used for anything like that these days.
>
> --
> Jens Axboe
>

Hi Both,

I will send a patch alongside others during the next merge window to
remove this TODO section for now. It was part of the initial mainline
git commit (17 years and two days ago), so it (as Jens says) is almost
certainly even older than this.

Regards,
Phil

\
 
 \ /
  Last update: 2022-04-18 23:05    [W:0.057 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site