Sponsored Content
Full Discussion: Low level format?
Top Forums UNIX for Dummies Questions & Answers Low level format? Post 23752 by auswipe on Friday 28th of June 2002 10:14:18 AM
Old 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

write() issue during a low level hdd access

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

Best reference for understanding low level info on nic cards drivers and functionality

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

High Runqueue (R) LOW CPU LOW I/O Low Network Low memory usage

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

System calls and C language low-level qualities???

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

Why is C/C++ considered low-level languages???

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

SSL certificate generation on OS level or application level

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

Low level X11 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
GROWFS(8)						    BSD System Manager's Manual 						 GROWFS(8)

NAME
growfs -- grow size of an existing ufs file system SYNOPSIS
growfs [-Ny] [-s size] special DESCRIPTION
The growfs utility extends the newfs(8) program. Before starting growfs the disk must be labeled to a bigger size using bsdlabel(8). If you wish to grow a file system beyond the boundary of the slice it resides in, you must re-size the slice using fdisk(8) before running growfs. If you are using volumes you must enlarge them by using vinum(8). The growfs utility extends the size of the file system on the specified special file. Currently growfs can only enlarge unmounted file systems. Do not try enlarging a mounted file system, your system may panic and you will not be able to use the file system any longer. Most of the newfs(8) options cannot be changed by growfs. In fact, you can only increase the size of the file system. Use tunefs(8) for other changes. The following options are available: -N ``Test mode''. Causes the new file system parameters to be printed out without actually enlarging the file system. -y ``Expert mode''. Usually growfs will ask you if you took a backup of your data before and will do some tests whether special is cur- rently mounted or whether there are any active snapshots on the file system specified. This will be suppressed. So use this option with great care! -s size Determines the size of the file system after enlarging in sectors. This value defaults to the size of the raw partition specified in special (in other words, growfs will enlarge the file system to the size of the entire partition). EXAMPLES
growfs -s 4194304 /dev/vinum/testvol will enlarge /dev/vinum/testvol up to 2GB if there is enough space in /dev/vinum/testvol. SEE ALSO
bsdlabel(8), dumpfs(8), fdisk(8), ffsinfo(8), fsck(8), newfs(8), tunefs(8), vinum(8) HISTORY
The growfs utility first appeared in FreeBSD 4.4. AUTHORS
Christoph Herrmann <chm@FreeBSD.org> Thomas-Henning von Kamptz <tomsoft@FreeBSD.org> The GROWFS team <growfs@Tomsoft.COM> BUGS
The growfs utility works starting with FreeBSD 3.x. There may be cases on FreeBSD 3.x only, when growfs does not recognize properly whether or not the file system is mounted and exits with an error message. Then please use growfs -y if you are sure that the file system is not mounted. It is also recommended to always use fsck(8) after enlarging (just to be on the safe side). For enlarging beyond certain limits, it is essential to have some free blocks available in the first cylinder group. If that space is not available in the first cylinder group, a critical data structure has to be relocated into one of the new available cylinder groups. On FreeBSD 3.x this will cause problems with fsck(8) afterwards. So fsck(8) needs to be patched if you want to use growfs for FreeBSD 3.x. This patch is already integrated in FreeBSD starting with FreeBSD 4.4. To avoid an unexpected relocation of that structure it is possible to use ffsinfo -g 0 -l 4 on the first cylinder group to verify that nbfree in the CYLINDER SUMMARY (internal cs) of the CYLINDER GROUP cgr0 has enough blocks. As a rule of thumb for default file system parameters one block is needed for every 2 GB of total file system size. Normally growfs writes this critical structure to disk and reads it again later for doing more updates. This read operation will provide unexpected data when using -N. Therefore, this part cannot really be simulated and will be skipped in test mode. BSD
September 8, 2000 BSD
All times are GMT -4. The time now is 07:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy