Mailinglist Archive: opensuse-factory (396 mails)

< Previous Next >
Re: [opensuse-factory] util-linux-2.19-rc1, /etc/mtab->/proc/self/mounts & systemd
On Tue, Jan 11, 2011 at 04:50:33PM +0100, Petr Uzel wrote:
Hi folks,

Last week, the first release candidate for util-linux-2.19 was released. The
package is ready in Base:System for testing (not yet submitted to Factory -
see
below).

From the package changelog:
* lsblk(8):
- this NEW COMMAND lists information about all or selected block
devices in tree-like format.
* partx(8):
- this command has been rewritten to use libblkid for partition
tables parsing. It supports aix, bsd, dos, gpt, mac, minix,
sgi, solaris_x86, sun, ultrix and unixware now.
- supports new command line option "--show" to list partitions in
new format
- prints UUID and name for GPT and mac partitions
* findmnt(8):
- supports new command line option "--submounts" to list all
submounts for selected mountpoint(s)
* agetty(8):
- supports new command line options "-c" and "-s" to reuse
already initialized tty cflags and existing baud rate
* mount(8), umount(8):
- could be linked with libmount (--enable-libmount-mount) to
manage userspace mount options outside /etc/mtab on systems
where the file is a symlink to /proc/mounts. (EXPERIMENTAL,
enabled in openSUSE package)
* losetup(8), mount(8):
- uses /sys/dev/block/<device>/loop/backing_file rather than
loopdev ioctls (requires kernel >= 2.6.37)

Will this fall back on the ioctls for older kernels?

* fsck(8):
- supports new command line option "-l" to lock whole-disk device
by exclusive flock(2). This option is recommended when more
fsck(8) instances are executed in the same time.
* rtcwake(8):
- supports new mode "show" to print the current RTC alarm time
* fstrim(8):
- this NEW COMMAND allows to discard unused blocks on a mounted
filesystem (wrapper for FITRIM ioctl)
* swapon(8):
- supports new options "discard" and "nofail"

The most important change is that mount(8) and umount(8) can manage
userspace mount options without writable mtab, which allows
/etc/mtab to be symlink to /proc/self/mounts. This is important for
systemd, which requires mtab to be such symlink.

/etc/mtab is converted to the symlink automatically by the package
in the %post phase.

OK, now to the point: the package is ready for testing in Base:System. I did
some testing and it worked fine for me, but since the switch to RO mtab and
(u)mount linked to (still experimental) libmount is not a trivial change, and
we
already had Milestone 5, I'd like to hear some opinions whether this should
GO/NOGO to Factory (to get to 11.4). Personally, I'm in favor of "GO".

I'd say "GO" as these seem like very nice things to have.

thanks,

greg k-h
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References