Go to file
2006-12-18 23:18:10 +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
adjtimex-1.20-nosyscall.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
adjtimex-1.20.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
cryptoloop.txt OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=1 2006-12-18 23:18:10 +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
freeramdisk.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
guessfstype2.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
guessfstype.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
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
loop-AES-v3.0a-util-linux-2.12p.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
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=1 2006-12-18 23:18:10 +00:00
mount-nfs-nonreserved OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=1 2006-12-18 23:18:10 +00:00
mount.8-acl.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
nfsboot 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.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=1 2006-12-18 23:18:10 +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.loop-AES-v2.2d 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.loop-AES-v2.2d.SuSE 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
ready OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=1 2006-12-18 23:18:10 +00:00
renice.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
schedutils-1.4.0.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
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
sm-notify-20060111.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
stupid-programmer.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
time-1.7.dif OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=1 2006-12-18 23:18:10 +00:00
time-1.7.tar.gz OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=1 2006-12-18 23:18:10 +00:00
util-linux-2.11q-fs_mac.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
util-linux-2.11u-nfs-mount_acl.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
util-linux-2.11z-hwclock_geteuid.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
util-linux-2.12-enablereplaybuild.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
util-linux-2.12-hostid.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
util-linux-2.12-mount_guessfstype.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
util-linux-2.12-mountfallback.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
util-linux-2.12-multipleraw.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
util-linux-2.12-nfs-tcp.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
util-linux-2.12-suse-compatibility.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
util-linux-2.12a-mountbylabel-dm.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
util-linux-2.12a-mountpointwithcolon.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
util-linux-2.12a-procswapscheck.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
util-linux-2.12h-mtablock.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
util-linux-2.12h-short-passwords.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
util-linux-2.12i-x86_64intel.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
util-linux-2.12q-ionice.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
util-linux-2.12q-mount--move.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
util-linux-2.12q-nfsv4.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
util-linux-2.12q-null.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
util-linux-2.12q-strict-aliasing.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
util-linux-2.12q-umount2-not-static.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
util-linux-2.12r-cal_formatting.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
util-linux-2.12r-external-prog-on-guess.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
util-linux-2.12r-fdisk_llseek.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
util-linux-2.12r-fdiskcyl.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
util-linux-2.12r-fdiskwrap.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
util-linux-2.12r-losetup_password.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
util-linux-2.12r-mkswap_fix.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
util-linux-2.12r-mount-by-uuid.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
util-linux-2.12r-mount-doubleslashessourceprefix-cifs.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
util-linux-2.12r-mount-mtab-update.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
util-linux-2.12r-mount.8-xfs-update.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
util-linux-2.12r-nfs_remount_options.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
util-linux-2.12r-nonfsmountfallback.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
util-linux-2.12r-pagesize.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
util-linux-2.12r-partx.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
util-linux-2.12r-rawfixes.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
util-linux-2.12r-readprofile-mapfile.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
util-linux-2.12r-rpcsec-gss.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
util-linux-2.12r-sec-manpage.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
util-linux-2.12r-umount_nosysfs.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
util-linux-2.12r.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
util-linux-2.12r.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
util-linux-libvolume_id-support.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
util-linux-nfs-timeo.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
util-linux-nfs.8.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
util-linux-nodiratime.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
util-linux-opt-hotplug.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
util-linux-wall.dif OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=1 2006-12-18 23:18:10 +00:00
util-linux-warn-nfsudp.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
util-linux.changes OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=1 2006-12-18 23:18:10 +00:00
util-linux.spec OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=1 2006-12-18 23:18:10 +00:00
which-2.13.tar.gz 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 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