forked from pool/util-linux
4efd0700ac
- Update to util-linux-2.24 + Release highlights (2.24) fdisk(8): * the code has been completely refactored and moved to libfdisk (the library does not have a stable API yet) * user interface has been unified for all label types and it supports colors * GPT disk UUID, partition UUID and partition name modification is supported now pylibmount: * this new library provides PYTHON BINDINGS for libmount; use --with-python[=2|3] to enable the bindings last(1) and lastb(1): * the NEW IMPLEMENTATION has been merged from sysvinit to util-linux and extended; now it supports command line options --present, --since, and --time-format * use --enable-deprecated-last to enable the old util-linux last(1) implementation swapon(8): * the option --discard= and fstab mount option discard= allow to explicitly specify 'pages' or 'once' discard policy. If no policy is selected, the default behavior is to enable both. See swapon.8 man page for more details. libblkid and blkid(8): * supports LOGUUID= for external logs (e.g. extN and XFS) * generates a pseudo PARTUUID= for MBR partitions (based on MBR Id, Linux kernel supports the same concept for root= command line option) agetty(8): * supportes new issue file \S escape code to read information OBS-URL: https://build.opensuse.org/request/show/210834 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=173 |
||
---|---|---|
.gitattributes | ||
.gitignore | ||
addnote.c | ||
baselibs.conf | ||
blkdiscard-BLKSSZGET-fills-in-an-int.patch | ||
blkid.conf | ||
etc_filesystems | ||
etc.raw | ||
klogconsole-quiet.patch | ||
klogconsole.diff | ||
klogconsole.tar.bz2 | ||
login.pamd | ||
make-sure-sbin-resp-usr-sbin-are-in-PATH.diff | ||
mkzimage_cmdline.8 | ||
mkzimage_cmdline.c | ||
nologin.8 | ||
nologin.c | ||
raw.init | ||
README.largedisk | ||
README.raw | ||
remote.pamd | ||
setctsid.8 | ||
setctsid.c | ||
su.default | ||
su.pamd | ||
tty3270-on-serial-line-of-s390.patch | ||
util-linux-2.23.1-eject-fpie.patch | ||
util-linux-2.23.1-noenc-suse.diff | ||
util-linux-2.24-fdisk_remove_bogus_warnings.patch | ||
util-linux-2.24.tar.sign | ||
util-linux-2.24.tar.xz | ||
util-linux-HACK-boot.localfs.diff | ||
util-linux-rpmlintrc | ||
util-linux.changes | ||
util-linux.keyring | ||
util-linux.spec | ||
uuidd.rc |
Raw device driver support on SLS 9 On SLS 9, you will notice that by default, raw devices (nodes) (/dev/rawctl and /dev/raw/rawN (1-15)) no longer exist whereas in SLES 8, the raw nodes were created when the system was initially installed. SLS 9, by default, uses the new dynamic userspace implementation "sysfs" together with "udev" which replaces the previous static "dev" system. Raw devices are moving towards eventual obsolescence with block+O_DIRECT support intended as a replacement. The primary application users of raw character devices have been databases so the database you are using will have to support the O_DIRECT functionality before moving away from raw character devices. Using RAW with kernel 2.6 (SLS 9) --------------------------------- Raw device usage in kernel 2.6 together with udev and sysfs was intended to be quite seamless. Basically, all that is required is to load the raw module after each reboot using the commands "modprobe raw" or "rcraw start". Then use the "raw" command to create the bindings to the block character devices. The raw device nodes are no longer required to exist before the bindings are assigned and used. Using a single script, you can you load the raw module and bind the raw nodes to block devices. #!/usr/bin # load the raw module modprobe raw # can also use "rcraw start" # create the raw bindings raw /dev/raw/raw1 /dev/sdb1 raw /dev/raw/raw2 /dev/sbc1 You can see if the raw driver is available by issuing "rcraw status". If the raw driver is loaded, the command should return a status of "running". A status of "dead" will usually indicate that the driver was not loaded or the /dev/rawctl file does not exist. The /dev/rawctl file is automatically created when the module is loaded. This file and the /dev/raw/rawN nodes can also be viewed under the /sys/class/raw directory. Raw node permissions ---------------------------------- When the raw devices are assigned, permission settings are determined from the /etc/udev/udev.permission file. This file can be modified to assign different owner, group and/or access permissions to the raw nodes. For example, by default, the permission settings for raw nodes are as follows: raw/raw*:root:disk:660 Here, root:disk is the default owner:group with read write access for owner and group. As an example, to create the raw nodes with an owner:group of user1:group1 and read write access for all, change the assignment as follows: raw/raw*:user1:group1:666