Go to file
Dr. Werner Fink c4eeece1b1 Accepting request 198586 from home:sbrabec:branches:Base:System
VERIFY_SIG is not set, as it is expected to cause build loops.

If you want to set it to 1, then it would depend on request 198583.

- Update to version 2.23.2:
  nsenter(1):
  * this NEW COMMAND provides command line interface to setns()
    Linux syscall and allows to run program with namespaces of
    other processes
  unshare(1):
  * supports new PID and USER namespaces
  fdisk(8):
  * provides experimental support for GUID Partition Table (GPT),
    the implementation is still not complete and some (unimportant)
    features are missing.
  * ~50% of fdisk code has been refactored, this task is going to
    be complete in the next release. The goal is to have libfdisk
    shared between all fdisks.
  partx(8):
  * supports new "update" command (implemented by
    BLKPG_RESIZE_PARTITION ioctl)
  mount(8):
  * supports new userspace mount option x-mount.mkdir[=<mode>] to
    create mountpoints on demand
  * the support for propagation flags has been improved, now the
    flags could be specified in /etc/fstab and used together with
    regular mount options. It's also possible to specify more
    propagation flags together. This EXPERIMENTAL feature is
    implemented by additional mount(2) syscalls, because Linux does
    not allow to use propagation flags with another options or more
    flags together.
  umount(8):
  * supports new command line option --recursive to recursively
    unmount all sub-mounts for the specified mountpoint * supports
    new command line option --all-targets to unmount all
    mountpoints in the current namespace for the specified
    filesystem * the options --recursive and --all-targets could be
    used together
  dmesg(1):
  * supports new command line options --color, --human and
  --nopager, the --human option enables relative times, colors and
  pager support.
  su(1):
  * supports new command line options --group and --supp-group to
    specify primary and supplementary groups
  chfn(1) and chsh(1):
  * the commands could be linked with libuser to support non-local
    accounts modification (e.g. LDAP, etc).
  kill(1):
  * the command has been improved to be compatible with procps
    version, the procps version is deprecated now, the util-linux
    version is enabled by default.
  blkdiscard(8):
  * this NEW COMMAND discard sectors on a device (for example on
    SSD disks)
  sulogin(8):
  * provides multi-console feature from SysVinit
  findmnt(8):
  * provides new columns FREQ, PASSNO, ID, OPT-FIELDS, PROPAGATION
  lslocks(8):
  * provides new column BLOCKER and detects blocked locks
  lsblk(8):
  * supports new command line option --scsi and new columns HCTL,
    TRANsport VENDOR and REVision
  swapon(8) and losetup(8):
  * the commands prints basic overview by default if no option
    specified
  column(1):
  * supports new command line option --output-separator to specify
    table output delimiter
  rename(1):
  * supports new command line option --symlink to rename symlink
    target
  hwclock(8):
  * supports new command line option --compare to periodically
    compare the Hardware Clock to the System Time (based on
    adjtimex -c)
  ipcs(1):
  * supports new command line options --bytes and --human
  wipefs(1):
  * supports new command line option --force to force erase on used
    devices

OBS-URL: https://build.opensuse.org/request/show/198586
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=178
2013-09-12 15:29:39 +00:00
.gitattributes OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=1 2006-12-18 23:18:10 +00:00
.gitignore OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=1 2006-12-18 23:18:10 +00:00
addnote.c OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=67 2008-11-21 14:54:57 +00:00
baselibs.conf Updating link to change in openSUSE:Factory/util-linux revision 96.0 2010-07-30 10:35:45 +00:00
blkid.conf OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=77 2009-07-17 13:52:45 +00:00
eject-scsi-check-host_status-and-driver_status.patch Accepting request 181367 from home:sbrabec:branches:Base:System 2013-06-29 10:05:39 +00:00
etc_filesystems OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=11 2007-04-12 16:31:42 +00:00
etc.raw OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=1 2006-12-18 23:18:10 +00:00
fdisk-tinfo.patch . 2013-06-05 13:07:12 +00:00
klogconsole-quiet.patch OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=1 2006-12-18 23:18:10 +00:00
klogconsole.diff OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=1 2006-12-18 23:18:10 +00:00
klogconsole.tar.bz2 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=1 2006-12-18 23:18:10 +00:00
login.pamd Accepting request 125752 from home:kukuk:branches:Base:System 2012-06-22 07:39:19 +00:00
make-sure-sbin-resp-usr-sbin-are-in-PATH.diff . 2013-06-06 09:42:28 +00:00
mkzimage_cmdline.8 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=1 2006-12-18 23:18:10 +00:00
mkzimage_cmdline.c OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=18 2007-06-14 14:18:25 +00:00
nologin.8 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=1 2006-12-18 23:18:10 +00:00
nologin.c OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=1 2006-12-18 23:18:10 +00:00
raw.init OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=59 2008-08-18 20:57:09 +00:00
README.largedisk OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=1 2006-12-18 23:18:10 +00:00
README.raw OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=1 2006-12-18 23:18:10 +00:00
remote.pamd - Enable /bin/login and obsolete old fork now merged back upstream. 2012-03-14 14:25:45 +00:00
setctsid.8 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=1 2006-12-18 23:18:10 +00:00
setctsid.c OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=1 2006-12-18 23:18:10 +00:00
su.default . 2013-06-06 09:42:28 +00:00
su.pamd . 2013-06-06 09:42:28 +00:00
util-linux-2.23.1-eject-fpie.patch . 2013-06-05 13:07:12 +00:00
util-linux-2.23.1-fdisk_remove_bogus_warnings.patch . 2013-06-05 13:07:12 +00:00
util-linux-2.23.1-noenc-suse.diff . 2013-06-05 13:07:12 +00:00
util-linux-2.23.2.tar.sign Accepting request 198586 from home:sbrabec:branches:Base:System 2013-09-12 15:29:39 +00:00
util-linux-2.23.2.tar.xz Accepting request 198586 from home:sbrabec:branches:Base:System 2013-09-12 15:29:39 +00:00
util-linux-HACK-boot.localfs.diff Accepting request 125509 from home:lnussel:branches:Base:System 2012-06-20 11:15:52 +00:00
util-linux-rpmlintrc . 2013-06-06 09:42:28 +00:00
util-linux.changes Accepting request 198586 from home:sbrabec:branches:Base:System 2013-09-12 15:29:39 +00:00
util-linux.keyring Accepting request 198586 from home:sbrabec:branches:Base:System 2013-09-12 15:29:39 +00:00
util-linux.spec Accepting request 198586 from home:sbrabec:branches:Base:System 2013-09-12 15:29:39 +00:00
uuidd.rc Updating link to change in openSUSE:Factory/util-linux revision 92.0 2010-06-18 03:15:08 +00:00

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