General :: Read And Write The HW Clock?

Feb 22, 2010

how to read and write i.e setting of hardware clock through c program on linux

View 5 Replies


ADVERTISEMENT

General :: Windows Access The File From Ubuntu Got Read Only Even Though Have A Full Permission To Read, Write And Execute The File?

Feb 4, 2010

What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.

View 1 Replies View Related

General :: How To Write To A Read-only Filesystem

Feb 19, 2011

I have been given a headless linux system running from a SD card. I get into it by putty, directly to root, not other user and even /home dir. Whatever I copy or write will dissapear because is ro.

my etc/fstab file is:

none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda1 /boot vfatnoauto,rw 0 0

View 5 Replies View Related

General :: Read Mp3 Filenames From A Dir And Write Id3?

Nov 30, 2010

if i have a dir with several mp3's files:

example:

[root@xxx]ls -l
-rwxr-xr-x 1 web2 client1 6222573 Nov 26 17:34 01 Artist1 - Song1.mp3
-rwxr-xr-x 1 web2 client1 4989384 Nov 26 17:34 02 Artist2 - Song2.mp3
-rwxr-xr-x 1 web2 client1 6987438 Nov 26 17:36 03 Artist3 - Song3.mp3

and i need to update the id3 tag of all files with the command:

/usr/bin/id3v2 -a "Artist1" -t "Song1" Artist1 - Song1.mp3

how i do a loop to read the filename and execute the id3v2 command for each file, as i have filenames with spaces and special chars ex:"".

View 1 Replies View Related

General :: Read/Write Xml File Through C++ Code?

Mar 18, 2011

I am trying to write a C++ Code to read write a XML file in C++.I researched a lot and find xerces is used for that but I am not able to write the code for that.Please provide me some links on how to run a code that R/W a xml file in C++.

View 1 Replies View Related

General :: Read/write Files In C Language?

Sep 8, 2009

Such as the title

View 2 Replies View Related

General :: How To Read - Write On NTFS Partition

Aug 27, 2010

All my important data like ebooks and some programs are in a ntfs partition...when i login to my redhat i am unable to access that partition..

How to access(r/w) that partition in linux(Red Hat)?

View 11 Replies View Related

General :: How To Read/write Physical Address

May 17, 2010

One of the tasks I want to do is to read/write from/to any physical address. My question is how do I get a physical address on my Linux desktop. I was thinking of using some utility to dump my BIOS settings, and modify a "not so important" memory address there? Is this possible. Otherwise is there any other physical address I can read/write

View 3 Replies View Related

General :: No Read / Write Access To Ipod?

May 17, 2010

I'm using Arch right now and i'm having problems syncing my ipod with Amarok (KDE). Everytime I would want to sync a song, it would give me access denied. it is currently mounted at /tmp/ipodbxQtrU and i have tried using chmod with no luck. I was in root when i used "chmod -R user ipodbxQtrU" and it said operation not permitted.

View 1 Replies View Related

General :: Chmod To Allow Read And Write Permissions For Directory?

Mar 31, 2010

I have created directories in root. I am looking for the chmod command to allow all users read and write permissions to a specific directory. I have done chmod 775 for a file but I need this for a directory. This includes permissions on all files and sub directories.

View 3 Replies View Related

General :: Set A Group With Default Read & Write Permissions?

Jun 14, 2011

What I want to be able to do, is have create a group, for example called "group1" and set its default permissions to read & write, instead of the usual just read.

So when I add a user into "group1" they automatically have read & write access to all files & directories which is in "group1".

Oh & I use crunchbang 10 (statler) for my desktops & Ubuntu 11.04 for my NFS/print/SSH/etc/etc server

View 3 Replies View Related

General :: Group Control - Read & Write Permission ?

Dec 21, 2010

I have a file the owner is root:root ( mode is 644 ), I want to release read & write permission to a non root user ( eg. admin_usr ), I tried to create a specific group ( eg. ADM ) and release it to root user and admin_usr ( by adding this users to ADM in /etc/group ) , but it is not work, if preserve the file mode to 644 , is it ok? how to do it if I want to have read & write permission in my case ?

View 5 Replies View Related

General :: Make The Root Device Read/write?

Mar 4, 2011

I need to change a filename but when I boot up I get the message root device is read-only. Is there a way of changing this so that I can change the filename. I have a Mac Pro running Leopard OSX. The graphics card an NVIDIA 7500GT or driver has failed. It was suggested elsewhere that I change the relevant kext files to filename.kext.old, which I did, now when I try to boot start in OSX I get a message in various languages telling me to restart. I have tried booting in safe mode and from original Installation CD. In Safe Mode I get the same multi language splash screen, from CD I still have the graphic card problem, screen freezes and artifacts appear. So I boot up straight into CLI by holding down CMD-S hoping to be able to change filenames back but it says device read-only.

View 2 Replies View Related

General :: Disc Able To Read And Write Data For All Users?

Feb 15, 2010

How make, that disc be able to read and write data for all users? I have Ubuntu 9.

View 2 Replies View Related

General :: Read / Write Ext4 Partition From Windows 7?

Mar 31, 2010

I installed fedora 12 and windows 7 in pc. i can not access fedora partitions from windows. which software is suitable for this?

View 8 Replies View Related

General :: Serial Port Configuration - Write Or Read

Dec 1, 2010

I have a minilinux that I being working on, the problem now is that the serial ports doesn't seem to work (I have 4 serial ports).They don't write or read.

I run the command setserial g /dev/ttySx and it says that his IRQ are 3 or 4 (3 for ttyS0 and ttyS2 , 4 for ttyS1 and ttyS4)�but when I run the command: dmesg | grep ttyS the IRQ�s are 0 for ALL my serial ports� could be this the reason why my serial ports aren�t working right??? And if it is how can I solve the problem??

View 2 Replies View Related

General :: File Permissions - Read Or Write Access To Different Users

Jul 8, 2010

I own a particular file on a Linux system. I would like to give 2 groups (accounting, shipping) read access and only read access, and 3 users(Mike, Raj and Wally) write access and only write access. How can I accomplish this?

View 3 Replies View Related

General :: Won't Let Mount An External Hard Drive As Read/write

Oct 7, 2010

I try

mount -t ntfs -o rw /dev/sdb1 /mnt/exthdd

it doesn't give me any response so I presume it succeeded but when I try to touch it, it tells me it's a read-only file system

View 1 Replies View Related

General :: Allow Specific User Permission To Read / Write Folder?

Feb 4, 2011

allow specific user permission to read/write my folder

I have a folder called /TAR/Sketch

I added a new user, named Snoopy, I want to grant this user the ability to add files & directories to this folder which is under the group Sketches and the owner is me.

How can I accomplish this ?

View 1 Replies View Related

General :: Working Of Read & Write Request To Mass Storage

Jan 18, 2011

How does the read & write request from a command prompt go to usb & retrieve the file ? When a read request is given , I/O manger sends the request to file system manager (FSM) and from FSM to mass storage device drivver and from there to mass storage , is this right in Linux ?

View 1 Replies View Related

General :: Write Operations Being Performed On File With Read-only Access?

Aug 24, 2010

I'm having this problem wherein the ppp program is altering the /etc/resolv.conf file when connecting.This, despite me having set file permissions to read-only. What could be the problem here?

View 9 Replies View Related

General :: Find A Test Tool To Write And Read IO On A Volume?

Nov 23, 2009

As part of my testing, I need to find a tool that will write/read IO to a volume. I need it to fill the volume and then read and verify that the write was successful. hroughput stats would be a plus, but right now, IO verification is a must.I need the volume to write, read, verify, then repeat until the volume is full.Can anyone point me to a free tool that can manage this?

View 1 Replies View Related

General :: Mount - Disable Read And Write File Cache On Partition?

Feb 8, 2011

How do i disable the linux file cache on a xfs partition (both read an write).

We have a xfs partition over a hardware RAID that stores our RAW HD Video. Most of the shoots are 50-300gb each so the linux cache has a hit-rate of 0.001%.

I have tryed the sync option but it still fills up the cache when copinging the files. ( about 30x over per shoot :P )

/etc/fstab:
/dev/sdb1 /video xfs sync,noatime,nodiratime,logbufs=8 0 1

Im running debian lenny if it helps.

View 2 Replies View Related

General :: Cannot Read / Write SD Card After Improper Format (sector Size 0) - Fix It?

Jun 12, 2011

I was attempting to reformat a 16GB MicroSD card in my camera when the battery died mid-way. After that, any time I try to read the card in my camera, it gives me a "Card Error" and does not allow me to reformat it in my camera.

So, I thought I would plug the camera in to the laptop with it set to host the card as media when plugged in as USB, in an attempt to fix the formatting issue.

However, when I plug it in to my linux machine, it does not register as a device (e.g., /dev/sda) due to some errors, therefore I cannot reformat it. Essentially, I think I need to fix the partition table but I'm not sure how to when it doesn't register as a device. code...

View 7 Replies View Related

General :: Allowing Read Write To Ext3 Partition To Non-root Users

Mar 18, 2010

I need to allow non-root users to read/write on an ext3 partition.

Below is the relevant output from fdisk -l

Code:

The partition in question is /dev/sda4 and it is mounted as /Data (setup during installation).

View 2 Replies View Related

General :: Mount NTFS In Read/write Mode In SuSE Enterprise 11

Dec 17, 2009

I can mount the NTFS in read only mode, but i need write access too. how can i mount NTFS partition in read/write mode..?

View 12 Replies View Related

General :: Write A C Code To Ping IP Addresses Which Are Read From A Text File?

Aug 3, 2010

i need to write a c code to ping IP addresses which are read from a text file and need to log the response time in another text file.

View 4 Replies View Related

General :: Write A Bash Script That Will Read The Word From The Text File?

Jun 10, 2011

I have a text file that contains a single word and I want to write a bash script that will read the word from the text file... The following is my incorrect attempt, as it assigns the name of the textfile to the variable as opposed to the word stored within the textfile:(assume I have a text file value.txt that has its contents a single word, say wordone)

Code:
#!/bin/sh
for f in value.txt
do
echo $f
done

so the output of the above script is value.txt, however I want it to be wordone.to summarise: how do I assign the value of the word contained within a textfile to a variable?

View 1 Replies View Related

General :: Fstab Line For Auto Mount Drive That All Users Can Read/write?

Jan 4, 2011

I have installed a cable that connects from the CPU's SATA motherboard connection to a removable drives' ESATA connection.I would like to be able to swap drives on the ESATA connection and have all users be able to read and write to these drives.I have created the directory /archive/ where I would like the drive(s) to mount.The drives are all formatted Fat 32 - but in the future I may use HFS for formatting.When I used the command (as root):mount /dev/sdc1 /archivethe drive was mounted (but read only)What can I use in my /etc/fstab file that will allow drives to be mounted and unmounted by all users on the system? (both reading and writing)Also, will I be able to mount and unmount these drives without shutting down? or will I need to reboot every time I want to change drives?

View 2 Replies View Related

General :: Write A Shell Script Which Will Read The Directory Path As Input From User?

Nov 28, 2010

I am new to writing shell scripts. So, please bare with me. I am currently trying to write a shell script which will read the directory path as input from user and will traverse the Dir tree to find all available audio and video files. I have tried to write as much as I could but I don't know where I am making mistake as I get some files to be audio file which are actully tar balls. On the second note there are some files which video but script shows them to be audio. And, some video files are completely skipped. I am giving the shell script below so that you can see. I am using two external files as source which I am attaching.

Code:

#!/bin/bash
#Let's load the extensions that we want to search for
vdExt=$(cat vdExtList)
adExt=$(cat adExtList)

[code]....

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved