05-18-2013
My picutres show for removable drive (memory chip of cell phone) drive 1.
My picture doesn't show for hard disk (disk 0)
yes C drive may be system drive
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I posted this in Shell scripting... maybe I'll try it in this forum..
*****************
I wrote a script to stop a process,truncate its log files and re-start the process...
We are using Progress Software in Unix ( Sun Sparc)
When ever I start this progress program , it should kick off a... (1 Reply)
Discussion started by: newtoxinu
1 Replies
2. Shell Programming and Scripting
Hi,
I wrote a script to stop a process,truncate its log files and re-start the process...
We are using Progress Software in Unix ( Sun Sparc)
When ever I start this progress program , it should kick off a C pgm in the background..
The script work perfectly fine when I run it from command... (4 Replies)
Discussion started by: newtoxinu
4 Replies
3. UNIX for Advanced & Expert Users
All,
I have a script that runs on 2 servers and there seems to be something wrong. It's producing different results on the 2 servers.
Here is the script on server1 which is behaving correctly but on 2 behaving differently.
2nd server:
I couldn't make out whats the error is?... (5 Replies)
Discussion started by: mhssatya
5 Replies
4. Shell Programming and Scripting
Guys i have strange behaviour with command output being saved in a variable instead of a tmp file.
1. I suck command output into a variable
Sample command output
# cleanstats
DRIVE INFO:
----------
Drv Type Mount Time Frequency Last Cleaned Comment
*** ****... (1 Reply)
Discussion started by: lavascript
1 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I have an 8gb usb flash drive that I had high aspirations of using for a recovery/install/messing around multipurpose drive.
fdisk shows:
$ sudo fdisk -l /dev/sdb
password for woodnt:
Disk /dev/sdb: 8036 MB, 8036285952 bytes
255 heads, 63 sectors/track, 977 cylinders
Units =... (0 Replies)
Discussion started by: Narnie
0 Replies
6. Shell Programming and Scripting
I have attached a file with few records. First 2 characters of each record are binary characters. I can remove it by
and it works fine. But
is behaving differently and removing more than expected characters. Can someone help me in accomplishing it through sed? Thanks in advance. (13 Replies)
Discussion started by: amicon007
13 Replies
7. Shell Programming and Scripting
Here is my test script:
#!/bin/sh
result=`jobs`
echo "
Jobs:
"$result
result=`ls`
echo "
LS
"$result
Here is the output:
Jobs:
LS
0 1 2 3 4 5 6 7 gcd initialize.sh #inter_round_clean.sh# inter_round_clean.sh inter_round_clean.sh~ look parallel_first_run.sh... (3 Replies)
Discussion started by: nealh
3 Replies
8. Shell Programming and Scripting
HI all
I have written a ksh to execute PL/sql procedure and generate the log file. The script is working fine to the extent of calling the taking input, executing PL/SQL procedure.
On one server the log file is getting generated properly. i,e it shows the DBMS output . The log file size was... (9 Replies)
Discussion started by: ramakrishnakini
9 Replies
9. UNIX for Beginners Questions & Answers
I have a .dmg file which was created from a disk consisting of two partitions. When I mount the dmg both partitions pop up, so I know the imaging worked properly. One partition is HFS+ and the other is FAT32.
So far, I've been unable to find a way to restore the dmg to a flash drive where both... (17 Replies)
Discussion started by: paulcristo
17 Replies
LEARN ABOUT NETBSD
scan_lfs
SCAN_FFS(8) BSD System Manager's Manual SCAN_FFS(8)
NAME
scan_ffs, scan_lfs -- find FFSv1/FFSv2/LFS partitions on a disk or file
SYNOPSIS
scan_ffs [-blv] [-e end] [-F file] [-s start] device
DESCRIPTION
scan_ffs will take a raw disk device that covers the whole disk or a file and will find all possible FFSv[12]/LFS partitions, independent of
block sizes on it. It will show the file system type (FFSv1, FFSv2, or LFS), size, and offset. Also it has an option to show the values
with a disklabel-alike output.
The options are as follows:
-b Report every superblock found with its sector address, rather than trying to report the partition boundaries. This option can
be useful to find the other superblocks in a partition if the first superblock has become corrupted. It is most useful if
device refers to the raw device for the partition, rather than the entire disk.
-e end Where to stop searching for file systems. The end argument specifies the last sector that will be searched. Default is the
last sector of device.
-F file Path to a file containing possible partitions inside of it.
-l Print out a string looking much like the input to disklabel. With a little massaging, this output can usually be used by
disklabel(8).
-s start Where to start searching for file systems. This makes it easier to skip swap partitions or other large non-UFS/FFS partitions.
The start argument specifies the first sector that will be searched. Default is the first sector of device.
-v Be verbose about what scan_ffs is doing, and what has been found.
The device argument specifies which device scan_ffs should scan for file systems.
scan_lfs is just another name for the same program, both behave in exactly the same way.
SEE ALSO
disklabel(8)
HISTORY
The scan_ffs program first appeared in OpenBSD 2.3 and then in NetBSD 3.1. Support for searching in files was added in NetBSD 4.0.
AUTHORS
scan_ffs was written for OpenBSD by Niklas Hallqvist and Tobias Weingartner. It was ported to NetBSD by Juan Romero Pardines, who added sup-
port for LFS/FFSv2, partitions with fragsize/blocksize greater than 2048/16384 for FFSv1, searching on files, etc.
BUGS
Currently scan_ffs won't find partitions with fragsize/blocksize greater than 8192/65536.
BSD
May 1, 2007 BSD