We essentially created a file called sda* in a /dev/ folder on the flash drive, and filled it with zeros until there was no more space at the inn (per usual dd practice).
If so, that could explain the constant 1GB output.
Realizing the limitation which dd has with respect to output per invocation, how could this have happened?
Thanks again --
Not essentially; exactly. Use the command:
and you'll see the device files that already existed and the regular file named /dev/sda* that you just created with dd with size 1027362816.
Let me see if I understand this correctly. You looked at a website that never showed what dd command was used, but had a description that started with the paragraph:
Quote:
I was trying to write an iso to a flash drive. I mistakenly thought that all /dev/sda* are flash drives attached to the system. I wasn't sure how to figure out which was which, so I just unplugged my flash drives and overwrote them all. In retrospect.... this was unbelievably dumb.
and went on to ask if it was possible to recover his system since it would no longer boot. And you decided to try to duplicate what the person who asked that question described as unbelievably dumb behavior.
Instead of us telling you how you can wipe out all of the data on all of your disk drives by copying /dev/zero to them, why don't you tell us what you're really trying to do?
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Hi everyone:
I have built a tcl script, this script communicate with an ADA program trough a socket, sending binary data, the sender proc is this one:
The code where im sending info is here:
proc p_send_data { DATA } {
global connection
puts "Sending trough $connection..."
#... (2 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
logs:
"/home/abc/public_html/index.php"
"/home/abc/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
how to use "cut" or "awk" or "sed" to get the following result:
abc
abc
xyz
xyz
xyz (8 Replies)
The system don't boot.
on the screen appears following:
press enter to maintenance (or type CTRL-D to continue)...I checked with format command.
... the slices "0-root","1-swap","2-backup" exist.
...the slises "3-var","6-usr" -unassigned. :( (16 Replies)
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT DEBIAN
ocf_pacemaker_healthsmart
OCF_PACEMAKER_HEALTH(7) Pacemaker Configuration OCF_PACEMAKER_HEALTH(7)NAME
ocf_pacemaker_HealthSMART - SMART health status
SYNOPSIS
OCF_RESKEY_state=string OCF_RESKEY_drives=string OCF_RESKEY_devices=string OCF_RESKEY_temp_lower_limit=string
OCF_RESKEY_temp_upper_limit=string OCF_RESKEY_temp_warning=string
HealthSMART [start | stop | monitor | meta-data | validate-all]
DESCRIPTION
Systhem health agent that checks the S.M.A.R.T. status of the given drives and updates the #health-smart attribute.
SUPPORTED PARAMETERS
OCF_RESKEY_state = string [/HealthSMART-{OCF_RESOURCE_INSTANCE}.state]
State file
Location to store the resource state in.
OCF_RESKEY_drives = string [/dev/sda]
Drives to check
The drive(s) to check as a SPACE separated list. Enter the full path to the device, e.g. "/dev/sda".
OCF_RESKEY_devices = string
Device types
The device type(s) to assume for the drive(s) being tested as a SPACE separated list.
OCF_RESKEY_temp_lower_limit = string [0]
Lower limit for the red smart attribute
Lower limit of the temperature in deg C of the drive(s). Below this limit the status will be red.
OCF_RESKEY_temp_upper_limit = string [60]
Upper limit for red smart attribute
Upper limit of the temperature if deg C of the drives(s). If the drive reports a temperature higher than this value the status of
#health-smart will be red.
OCF_RESKEY_temp_warning = string [5]
Deg C below/above the upper limits for yellow smart attribute
Number of deg C below/above the upper/lower temp limits at which point the status of #health-smart will change to yellow.
AUTHOR
Andrew Beekhof <andrew@beekhof.net>
Author.
Pacemaker Configuration 04/17/2012 OCF_PACEMAKER_HEALTH(7)