General :: Alias A Device For The Mount Command In RedHat 9?

Aug 9, 2011

I have a program which mounts /dev/sdb1 for which I lack the source code. This device does not exist on my RedHat 9 system and I want to create /dev/sdb1 such that it's an alias for /dev/hdb1 Can I do this? with MAKEDEV?

I need to have an alias which will allow it to mount, not create a symbolic link to an already mounted directory. i.e. 'mount /dev/sdb1 /mnt/harddrive' should actually mount /dev/hdb1

View 7 Replies


ADVERTISEMENT

General :: Command To Display The Device-fs-uuid-mount Point?

Oct 26, 2010

I need a command to display the next info from my hdd:

device name - filesystem - uuid - mount point

I found blkid but the mount point is not displayed, I've already look in man but there is no parameter for that

View 2 Replies View Related

General :: Cant Mount Redhat 5.0 From Redhat 4.0 Via Fstab?

May 5, 2011

I cant mount a directory on red hat 5 from red hat 4 using fstab.I keep getting permission denied.I mount directories on the same red hat 5 sys from other red hat 5 and 2 old HPUX systems using fstab.When I try to telnet to it i get "no route to host."

View 3 Replies View Related

General :: How To Alias A Command For Sudo

Sep 25, 2010

I have an alias that I would like to use both as a regular user and as root, via sudo. Specifically, it is this:

alias rm=trash This works fine as a normal user, and it works fine when I use sudo -i to get a root shell prompt, but if I use sudo rm, the alias does not apply. So where do I need to put my alias so that it works in one-off sudo commands?

View 1 Replies View Related

General :: Used Alias Command For Ll And Now Ll Is Not Recognized?

Dec 3, 2010

I used the alias command to make ll be ll -lrt. I have linux 5 and using the bash shell. now I can't even use ll, only ls. when I go into the bin directory, ll is not in the list and the normal color codes for bash are not showing either...folders blue, etc

View 4 Replies View Related

General :: Setup An Alias Or Shortcut To Do The *nix Find Command?

Apr 5, 2011

When at the command line, I find that I have to type out this command very often: find . -iname "*php" -exec grep -H query {} ; I'd love to set up an alias, script, or shortcut to make it work easier. I would like to do something like: mysearch query ("*php") (.) It would be great if the command could accept three arguments, in reverse order:

query string, file name expression, directory If the second two arguments were omitted they would default to not being included, and the current directory. Finally, the icing on the cake would be that if additional variables were included (4th, 5th, 6th...) they would be injected as additional arguments for the find command (like I could say -type d) at the end. Attempted code I tried the example below, but I'm still having trouble setting default values. What am I doing wrong?

#!/bin/bash
c=${param1+.}
b=${param2+*}
a=${param3+test}
find $c -iname $b -exec grep -H $a {} ;

View 1 Replies View Related

General :: Using Shortcuts/alias Inside A Bash Command?

Jan 28, 2010

I know that using alias I can run a whole command with a shortcut. But my requirement is to use parts of a long command and in between I have to pass some user defined values.
E.g. Suppose I have to routinely copy a directory to another remote directory on a remote machine.The remote machine name is quite long as well as the directory path to which I want to copy the files into.So the command to do scp would look like this[URL]Now I want to do some sort of aliasing (say "ecp") so that I just need to pass the source_directory name and the ecp command and do my job

View 3 Replies View Related

General :: Locate Device Manager In Redhat?

Jun 20, 2010

how to locate device manager in redhat?

View 1 Replies View Related

General :: Extending A Redhat 5 /var Mount?

Jun 23, 2011

I have extended the Logical Volume and when I do an lvmdiskscan it shows the new extened value but when I do a df -h the mount (/var) still shows the old value?

View 1 Replies View Related

General :: Mount Winxp Os In Redhat Os

Nov 27, 2010

wld like to know what to do in order to mount my winxp os in my redhat linux os. I tried editing my fstab file mounting my hda/hda1, I used ntfs, vfat file, none of it worked. When I used ntfs file, its told me my kernel does not support that file system.

View 2 Replies View Related

General :: Mount NTFS Partition In Redhat?

Dec 18, 2010

i want to know how to mount NTFS partition in redhat.

View 2 Replies View Related

General :: Redhat 5.3 Mount Failed Without Root?

May 16, 2011

In Redhat 4.x, we can use 'smbmount' to mount another linux samba server with 'user1'. But now we used redhat 5.3(64bit), there is no smbmount and I can only user mount command via root.

How can I mount a folder via 'user1', not root?

(BTW, I can run '#mount hostname:/sharename /mnt/u1, but the access right of /mnt/u1 is only for root.)

$ls -la
drwxrwxr-x root:root 4096 May 18 2010 u1

I wish it is "user1:user1"
drwxrwxr-x user1:user1 4096 May 18 2010 u1

I also edit /etc/fstab and add the following in. hostname:/sharename /mnt/u1 noauto,user1 0 0

mount: only root can mount xxx on xxx. It still doesn't work.

View 5 Replies View Related

General :: Mount A Pen Drive In Redhat Advance Server 2.1As?

Aug 31, 2009

i am trying to mount a pen drive in Redhat linux Advance Server 2.1As but i am unable to do that can any body help me for doing that.

View 8 Replies View Related

General :: Wd Mypassport 500gb How To Mount In Redhat Machine?

Nov 4, 2010

can some one guide me about wd mypassport 500gb how to mount in redhat machine

View 3 Replies View Related

Server :: Creating Alias Or CNAME Record For Each Network Device

Oct 28, 2010

I'm running Ubuntu Server 10.04 to provide DHCP and Internet Sharing on my home LAN. In a previous configuration, I was running Fedora + AMAHI to provide the same services. As most of my linux devices are Ubuntu, I decided to decommission and rebuild my server. I've been able to configure all of my services with the exception of one. As a rule, I assign static IP or reservations based on MAC address's for any of my network devices or appliances.

One cool feature that AMAHI provided a GUI for, was the ability to recognize devices by name as well as IP. i.e.. "http://192.168.1.50" or "http://home-NAS" Going from memory, the long name upon first entry may actually have been "http://home-NAS.adomainname.com"? From my reading, I think I either need to setup up a Static Alias or CNAME for each assigned IP. I can't find any tutorial's that will walk me through this process. I'm guessing I need to generate the records under one of the master DNS zones, but that is just a guess?

View 1 Replies View Related

General :: Tape Command Redhat Es 3 $ Tar Tvf /dev/st0 Is Not Working ?

Mar 15, 2010

I am geting this problem since lat one year. please send me quikly the solution or the remedy of it.

Tape command:

Giving error like below archback is a shell script for the above same command for backup.

View 2 Replies View Related

General :: Setup An "alias" Command For IDL?

Jan 25, 2011

I have installed IDL 7.1 on my Ubuntu 9.10. And now the instruction says that I should set up an "alias" for it.I do not know what to write in my "bashrc" as an alias for IDL.
These are the place of the executable command of IDL:

/IDL/idl-7.1/bin/idl
AND
/IDL/idl-7.1/bin/idlde

Note that "idl" and "idlde" are the executable files which run the program by typing them in Terminal. I would be very grateful if anyone could help me in how to write an "alias" for my IDL.

View 7 Replies View Related

General :: What Is The Exact Command To Shut Down A Redhat System

Jan 26, 2010

I want to know the exact command to shut down a red hat linux server.I was using init 0. but some one said its not the proper method to shut down my linux server.If not which is the exact command

View 6 Replies View Related

General :: See The RedHat Subcription Via Command Line In RHEL 5?

Apr 5, 2011

How to see the Redhat Subcription via command line in RHEL 5

View 6 Replies View Related

Ubuntu :: How To Permanently Alias Command

Mar 6, 2010

My current alias'd commands are:

alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias grep='grep --color=auto'
alias ls='ls --color=auto'

I'd like to change 'ls' and add a few more, is there a command to permanently do that, or a config file I need to edit somewhere?

View 2 Replies View Related

General :: Fedora Core 2 Loaded On A Toshiba Satellite 2545Xcdt Laptop Computer - Can't Get Redhat To Mount Usb Flashdrive

Oct 28, 2010

I can't get Redhat (Fedora) to mount my usb Flashdrive. My windows O/S has no problem with my usb flashdrive. I can mount my CD Drive and my Floppy drive. My mouse is pluged into one of my usb slots and it works. What am I doing wrong.

View 1 Replies View Related

Ubuntu :: Bashrc Ls Alias Not Working Same As Command Line

Oct 25, 2010

I have a few alias' in my .bashrc to save some typing, mostly ls type variants.

I wanted to add the following:
- give me a Long listing of ALL in Reverse Time order, (don't recurse directory)

Code:

But it doesn't work anything like the way it does on the command line

When I use the alias I get the following:

Code:

No Time, No Permissions, no group/owner ... , Why?

View 2 Replies View Related

General :: Command To Show The Luns Mapped To Redhat Enterprise Server 6.1 Host?

Nov 15, 2010

command to show the luns mapped to redhat enterprise server 6.1 host. And how do i known the WWNN for the FC HBA attach to the host.

View 6 Replies View Related

Red Hat :: Turning Ruby On Rails Ubuntu Command Into Redhat Command

Dec 2, 2008

I'm the noobiest noob you'll find on here. I'm having trouble getting ruby on rails to work with mysql on redhat. So on their forum I asked how to install the latest "sqlite" database package on linux.They told me to run.Now, I don't think I need "sudo" because I am the root user on my database, and I don't think I can use "apt-get" because I'm using redhat, not ubuntu.

1) Is there a way of running the above command on redhat? (A redhat command for installing things?)

2) How can I be sure I'm using redhat and not some other OS?

View 1 Replies View Related

General :: Cannot Find USB Device To Mount?

May 23, 2011

How can I find which /dev/? device to mount my USB hard drive on redhat 3 taroon, I've been googling a lot and checked log files and still no clue. I'm trying my last chance with you experts, # /sbin/fdisk -lgives nothing about the USB drive

# lsusb -vv
Bus 004 Device 005: ID 059f:0951 LaCie, Ltd
Device Descriptor:

[code]....

View 4 Replies View Related

General :: Set Up Usb Device To Be Available To Mount And Not For Other Users?

May 18, 2010

I am trying to set up my usb device to be available to mount and umount only for me, not for other users. Using Slackware 12.2Entry in fstab is as follows:

Code:
/dev/disk/by-label/USB /media/usbvfat auto,group,user,noexec,gid=usb,umask=007 0 0
device information:

[code]....

View 3 Replies View Related

General :: Can't Mount Usb Disk - It Just Create /dev/sg Device But No /dev/sd

Dec 23, 2010

I have a Corsair R60 ssd disk which is a disk with both sata and usb connectors. But the usb thing seems to be a bit non-standard, or maybe its just my fedora linux.When I insert the disk using a usb cabel to a running Fedora 14 linux system, a device called /dev/sg3 is added but that is all. No new /dev/sd* device is created so I can't mount the disk.

If I look at

cat /proc/scsi/sg/device_strs

I get

ATA Hitachi HTS54321 FB2O
HL-DT-ST DVDRAM GSA-T50N RP05
Seagate Desktop 0130
Corsair CSSD-R60GB2

So the disk is there. (The last entry) but my linux will for some reason not see it as a usb hard disk. When I insert other usb disks they work fine. It is only this specific disk which causes problems. I have tried on 3 different computers with the same result.

A hint to the problem may be that if I add the disk to a windows system(With usb) the disk is called "A fixed disk" and not a portable disk as expected. The disk works fine with linux If i connect it with the sata cabel, but I would really like to have it working with usb too. (To mount it on computers without sata).

Added:I did try to mount /dev/sg3 but mount say that its not a block device. (File say Its a character special device).

Added output from dmesg:

[ 97.454073] usb 7-1: USB disconnect, address 2
[ 105.913055] hub 2-0:1.0: unable to enumerate USB device on port 3
[ 107.048054] usb 2-3: new high speed USB device using ehci_hcd and address 5
[ 107.162900] usb 2-3: New USB device found, idVendor=1b1c, idProduct=1ab8

[code]....

I found an other guy with exactly the same problem [URL] so I think its beginning to look like a bug in the drives firmware or in the linux kernel.

Final update:Corsair have said that the disk design is broken and there does not seem to be any way to make it work.

View 1 Replies View Related

General :: Cannot Mount Hotpluggable Device In Xfce

Mar 27, 2010

i can't mount my USB flash disk using GUI... trough normal "mount" command it works fine, but i want to make it automatic. here is error output:

Code:
Rejected send message, 1 matched rules;
type="method_call", sender=":1.13" (uid=1000 pid=2301 comm="exo-mount)
interface="org.freedesktop.Hal.Device.Volume"
member="Mount" error name="(unset)" requested_reply=0
destination="org.freedesktop.Hal" (uid=0 pid=1488 comm="/usr/sbin/hald))

View 3 Replies View Related

General :: Mount Error 6 = No Such Device Or Address

Feb 10, 2011

[root@servers guest]# /bin/mount -o -uid=root,gid=root,username=userid,password=user1passwd //172.16.1.212/backup/user1backup /mnt/tmp

retrying with upper case share name
mount error 6 = No such device or address
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
[root@servers guest]#

I also tried:

[root@servers guest]# /bin/mount -t cifs -o -uid=root,gid=root,username=user1,password=user1pass //172.16.1.212/backup/user1backup /mnt/tmp

but no luck!

View 4 Replies View Related

Red Hat :: Connect A Usb Device To My Redhat System Box?

Nov 16, 2010

I am new to linux redhat 9. how to connect my usb device to redhat linux.

View 2 Replies View Related







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