on my fedora system, i just looked at the man page
--- cut ---
[EMAIL PROTECTED] ~]$ man 4 zero | cat
NULL(4) Linux Programmerâs Manual NULL(4)
NAME
null, zero - data sink
DESCRIPTION
Data written on a null or zero special file is discarded.
Reads from the null special file always return end of file, whereas
reads from zero always return \0 characters.
null and zero are typically created by:
mknod -m 666 /dev/null c 1 3
mknod -m 666 /dev/zero c 1 5
chown root:mem /dev/null /dev/zero
NOTES
If these devices are not writable and readable for all users, many pro-
grams will act strange.
FILES
/dev/null
/dev/zero
SEE ALSO
chown(1), mknod(1)
Linux 1992-11-21 NULL(4)
________________________________
From: [EMAIL PROTECTED] on behalf of Carl J. Benson
Sent: Fri 9/7/2007 3:50 PM
To: [email protected]
Subject: [sisuite-users] missing /dev/zero
Hello.
I have a cluster of Dell 1950 PowerEdge servers. The S.I. server
and clients have S.I. version 3.8.2 installed. The OS on server
and clients is openSUSE 10.2.
The client PXE boots OK, and the master script for the image
starts to execute. All goes surprisingly well until this bit
of the master script:
# Wipe the MBR (Master Boot Record) clean.
logmsg "dd if=/dev/zero of=$DISK0 bs=512 count=1 || shellout"
dd if=/dev/zero of=$DISK0 bs=512 count=1 || shellout
At which point the script dies because there is no /dev/zero.
"ls /dev" shows that there are files in /dev, just no /dev/zero.
If I comment out the dd line, the partitioning proceeds, the restore
runs great, and the new cluster node boots -- at least on my test
node. I haven't tried it on a brand new 1950 just out of the box.
I think it might fail if the MBR isn't wiped clean, because Dell
systems come with stuff on the disk drive already.
Can someone tell me how to get /dev/zero in there?
--
Carl Benson | [EMAIL PROTECTED]
Linux System Administrator | Telephone: (206) 667-4862
Fred Hutchinson Cancer Research Center
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users
<<winmail.dat>>
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ sisuite-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisuite-users
