Fdisk and grep command not working in udev trigger
Hi Guys,
Can someone take a look at my scripts what missing, plugin usb drive the script is running can log all my echo but cannot execute command. Is there any configuration in linux or to my scripts need to add?.
What i want to achieve is every time I plugin the usbdisk automatic mount to /media/usb/test
Reload all rules in udev:
Trigger all udev rules:
Here the log ouput:
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
fpga_load
FPGA_LOAD(8)FPGA_LOAD(8)NAME
fpga_load - Xorcom Astribank (xpp) firmware tool
SYNOPSIS
fpga_load [-g] [-r] [-v] -D {/proc/bus/usb|/dev/bus/usb}/BUS/DEV
fpga_load [-g] [-v] -D {/proc/bus/usb|/dev/bus/usb}/BUS/DEV -I firmware.hex [-b dump.bin] [-i]
fpga_load -h
DESCRIPTION
fpga_load loads the FPGA firmware to the Xorcom Astribank device. The syntax resembles that of fxload(8).
OPTIONS -b dump.bin
Before writing firmware, bump the processed binary file to dump.bin.
-D DEVICE
Required. The device to read from/write to. On modern UDEV-based system this is usually /dev/bus/usb/bus_num/device_num, where
bus_num and device_num are the first two numbers in the output of lsusb(8). On older systems that use usbfs, it is usually
/proc/bus/usb/bus_num/device_num.
-r
Reset the Astribank and renumerate its USB connection to power on product ID.
-g
Dump all eeprom data to standard output.
-I fireware_file
The firmware file to write to the device.
-i
Show information about the firmware file (valid only with -I option). Example:
./FPGA_1151.hex: Version=3297 Checksum=58270
In particular, the calculated checksum should match the output of sum(1) on the binary firmware file generated by the -b option.
-v
Increase verbosity. May be used multiple times.
-h
Displays usage message.
SEE ALSO fxload(8), lsusb(8)AUTHOR
This manual page was written by Tzafrir Cohen <tzafrir.cohen@xorcom.com> . Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
16 April 2006 FPGA_LOAD(8)