"Supposedly" doesn't really instil confidence You tried setting DEVNAME manually, and that also didn't work?
Is all of the code in the same script.. e.g. did you export DEVNAME if it's not?
If you set DEVNAME manually, after (or in place of) the fdisk command, there's no reason that the output would be
instead of
If the variable DEVNAME is not created as read-only (e.g. gives an error why you try to set it), and the script is not being run in a shell jail (chroot environment), that is.
installed fedora core 5 on a pc with USB and some usual things. in boot up it is stopped at "Starting udev:". Its harddisk light is busy. is it reconfiguring the kernel?. what do to solve this problem?. (0 Replies)
Hello all
I have to run manually make commands in our system the make compilations task's takes very long
And I like to be able to run another make task right after one is finished.
What is the best way to automate it ? (2 Replies)
Hi,
I worte a script which runs perfect when i execute it manually. But when i scheduled into cron the grep command alone is not working.
the sample script,
/usr/bin/grep FTP $subfile > /tmp/tfsrec.dat
tfs=`echo $?`
if
then
echo "FTP FOUND"
else
echo "FTP NOT FOUND"
Where... (5 Replies)
I'm curious about the behavior where any udev labeled device causes that corresponding listing to disappear from fdisk, sfdisk, or in the case of RDAC, lsvdev.
I have seen this on both EMC clariion and Sun Storagetek/Engenio 6540 arrays.
We use RHEL5.1 and udev to create persistent labels for... (2 Replies)
Hello!
I'm sorry if this is the false Forum, didn't really knew where to put it...
My question:
I have serveral USB-Sticks and wrote several Udev-Rules for theme, each Sticks needs to do something else, but all are using the same script (they have common tasks to do) and only some parts are... (2 Replies)
hi
i want to automate fdisk command .
i spawned a process containing fdisk command from a process
and tried to send the options to fdisk promt from that process.
but that spawed process is notstarting itself
help me out
trying for two days
:wall:
my code:
#!/bin/bash
echo... (5 Replies)
Hello,
MBR partition table made by linux fdisk looks certainly not correct when printed by openbsd fdisk:
Partition table created on linux (centos 6.3):
# fdisk -l /dev/sdc
Disk /dev/sdc: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 *... (2 Replies)
I have made a program that reads a text file and checks for palindromic words and then outputs them. They each appear on a new line with a count of the number of occurences beside each of the words.
Requirements for being classed as palindrome are that the word must have at least 3 letters and... (7 Replies)
Discussion started by: greenhouse91
7 Replies
LEARN ABOUT DEBIAN
synce-registry
SYNCE-REGISTRY(1) http://synce.sourceforge.net/ SYNCE-REGISTRY(1)NAME
synce-registry - read or modify the registry on a PDA
SYNOPSIS
synce-registry [-d LEVEL] [-p DEVNAME] [-h]
[-r] PARENTKEY KEY VALUE
-w [-t TYPE] PARENTKEY KEY VALUE NEWVALUE
-l PARENTKEY KEY
-n PARENTKEY NEWKEY
-x PARENTKEY KEY VALUE (not supported)
-X PARENTKEY KEY (not supported)
DESCRIPTION
synce-registry manipulates the registry on a device connected through SynCE. It can read and write values, add new keys and values, and
list the values of a key.
Forward slashes ('/') in key names specified on the command line are converted to backward slashes ('').
This tool must be run as the same user as the dccmd daemon.
OPTIONS -d LEVEL
Set debug log level:
0 - No logging (default)
1 - Errors only
2 - Errors and warnings
3 - Everything
-p DEVNAME
Use the device with the given name, instead of the default.
-h Display help message.
[-r] PARENTKEY KEY VALUE
Read a value. This is the default.
-w [-t TYPE] PARENTKEY KEY VALUE NEWVALUE
Write a value. If TYPE is supplied, that type of value will be written; otherwise a string. The following options are valid for
TYPE:
sz - String
dword - Double-word (4 bytes)
dword_bige - Double word (4 bytes), big-endian
expand_sz - String with path expansion
multi_sz - Multiple strings (not supported)
binary - Binary data (not supported)
-l PARENTKEY KEY
List the names of values and subkeys in the given KEY.
-n PARENTKEY KEY
Create a new key.
-x PARENTKEY KEY VALUE
Delete the given VALUE from the given KEY. (not implemented)
-X PARENTKEY KEY
Delete the given KEY. (not implemented)
PARENTKEY
The top-level key (sometimes called the hive). The only valid options are HKEY_CLASSES_ROOT (abbreviated HKCR), HKEY_CURRENT_USER
(HKCU), HKEY_LOCAL_MACHINE (HKLM), and HKEY_USERS (HKU).
KEY The key to operate on. A key can contain zero or more values and subkeys.
VALUE The value to operate on.
NEWVALUE
The new value to set VALUE to in a write operation.
AUTHOR
David Eriksson <twogood@users.sourceforge.net>, Scott Gifford <gifford@umich.edu>.
SEE ALSO synce(1)pstatus(1)The SynCE project March 2006 SYNCE-REGISTRY(1)