06-28-2002
I believe that if you really want to perform a low level format (replacing all data on the drive with alternating 0's and 1's) you will need to download a utility from the drive manufacture to perform a true low-level format.
If you want to format a partition to create a filesystem then you will want to use `newfs`.
You say that newfs is not recognized on your installation. It may be just that the newfs command is not in the current path. You can check this with `whereis newfs`.
If newfs still doesn't show up then you can run `find / -name "newfs" -print` to find it's location in your system.
As for the usage of newfs, `man newfs` should give you all the gory details.
7 More Discussions You Might Find Interesting
1. Programming
Hi,
I am trying to write zeroes to the hdd using a c program. I don't want to use the dd or ddrescue or any such inbuilt program because of reasons like real time progress, writing custom patterns. (my program is more like an erasure application, but does only zero fill).
here are the steps... (35 Replies)
Discussion started by: sponnusa
35 Replies
2. IP Networking
Hi,
What is the best reference that gives in detail on nic cards configuration , assigning multiple ip addresses to a single interface, netlink library etc and all basic stuff at this level..?
Thanks (2 Replies)
Discussion started by: Gopi Krishna P
2 Replies
3. AIX
Hello All
I have a system running AIX 61 shared uncapped partition (with 11 physical processors, 24 Virtual 72GB of Memory) .
The output from NMON, vmstat show a high run queue (60+) for continous periods of time intervals, but NO paging, relatively low I/o (6000) , CPU % is 40, Low network.... (9 Replies)
Discussion started by: IL-Malti
9 Replies
4. Programming
Hi friends,
I hope everyone is fine and doing well. I queried in my previous thread about the low-level qualities of C/C++ languages.I really thank you people for explaining, it was really helpful. One more ambiquity that I have in my mind is regarding the unix system calls like open, creat,... (1 Reply)
Discussion started by: gabam
1 Replies
5. Programming
Hi friends,
I hope everyone is doing well and fine. I have always been hearing that C/C++ are relatively low-level as compared to Java/C# etc. Could you please tell me some low-level qualities of C/C++? And I think disk deframenters are written in C/C++, please correct me if I am wrong. And please... (5 Replies)
Discussion started by: gabam
5 Replies
6. Red Hat
We have a RHEL 5.8 server at the production level and we have a Java application on this server. I know of the SSL certificate generation at the OS (RHEL) level but it is implemented on the Java application by our development team using the Java keytool. My doubt is that is the SSL generation can... (3 Replies)
Discussion started by: RHCE
3 Replies
7. Programming
How to use X11 without Xlib not XCB? How draw window directly on low level?
I must use anyway window manager like Motif?
I have ridden that X11 has server-client architecture, client send via TCP/IP to port 6000 request for primitives and get replies.
Where is detailed description of it? In X11... (0 Replies)
Discussion started by: AndrzejB
0 Replies
LEARN ABOUT FREEBSD
gshsec
GSHSEC(8) BSD System Manager's Manual GSHSEC(8)
NAME
gshsec -- control utility for shared secret devices
SYNOPSIS
gshsec label [-hv] name prov prov ...
gshsec stop [-fv] name ...
gshsec clear [-v] prov ...
gshsec dump prov ...
gshsec list
gshsec status
gshsec load
gshsec unload
DESCRIPTION
The gshsec utility is used for setting up a device which contains a shared secret. The secret is shared between the given providers. To
collect the secret, all providers are needed. If one of the components is missing, there is no way to get any useful data from the rest of
them. The first argument to gshsec indicates an action to be performed:
label Set up a shared secret device from the given components with the specified name. Metadata are stored in the last sector of every
component.
stop Turn off an existing shared secret device by its name. This command does not touch on-disk metadata!
clear Clear metadata on the given providers.
dump Dump metadata stored on the given providers.
list See geom(8).
status See geom(8).
load See geom(8).
unload See geom(8).
Additional options:
-f Force the removal of the specified shared secret device.
-h Hardcode providers' names in metadata.
-v Be more verbose.
EXIT STATUS
Exit status is 0 on success, and 1 if the command fails.
EXAMPLES
The following example shows how to create a shared secret device. The secret will be split between a slice on a local disk and a USB Pen
drive.
gshsec label -v secret /dev/ada0s1 /dev/da0
newfs /dev/shsec/secret
From now on, when the USB Pen drive is inserted, it will be automatically detected and connected, making the secret available via the
/dev/shsec/secret device.
SEE ALSO
geom(4), gbde(8), geom(8), newfs(8)
HISTORY
The gshsec utility appeared in FreeBSD 5.4.
AUTHORS
Pawel Jakub Dawidek <pjd@FreeBSD.org>
BSD
October 1, 2013 BSD