[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mounting tmpfs (and sysfs) defaultly in sarge?



Hi!

On 2003-12-13 16:19 +0900, GOTO Masanori wrote:
> BTW, the coming Linux kernel 2.6 will support sysfs, replacement for
> procfs (/proc).  It's useful if we have /sys directory for kernel 2.6.
> So I also think sysfsutils or base-files should create /sys and put
> sysfs entry in /etc/fstab in the near feature.  It may be a bit early
> to add, though.

I already thought about this; when 2.6 becomes stable, I intent to
upload a new revision. But I still have some questions:

- may the package libsysfs alter /etc/fstab? According to 
  'dpkg -S /etc/fstab' it does not really belong to a specific package
  (in this case modification would be prohibited IIRC). ATM my
  favourite solution is to have a debconf question. What do you think?
  normal/default yes, important/default no or even normal/default no?

- I sometimes switch to my old 2.4 for testing purposes. Then of
  course mounting /sys will fail and the user will get an error
  message (it doesn't harm, though). This problem could only be
  circumvented by not mounting /sys in /etc/fstab, but doing that in
  an init script which checks which kernel version runs ATM. Do you
  think that it is worth the effort?

- By now I don't allow sysfsutils to go into Sarge because it isn't
  used yet (udev, diagnostics...). My personal feeling is to wait
  until kernel 2.6 stable is in sarge and udev is in unstable and
  works.

I appreciate any hints and comments.

Have a nice weekend!

Martin
-- 
Martin Pitt                 Debian GNU/Linux Developer
martin@piware.de                      mpitt@debian.org
http://www.piware.de             http://www.debian.org

Attachment: signature.asc
Description: Digital signature


Reply to: