Custom Query (684 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (100 - 102 of 684)

Ticket Owner Reporter Resolution Summary
#578 Bruno Cornec victor gattegno fixed bug in libmondo-devices.c
Description

This concerns these lines in libmondo-devices.c

Line 916 : ("dvdrecord -scanbus 2> /dev/null | grep \") '\" | grep -n \"\" | grep DVD | cut -d':' -f1")
Line 921 : ("cdrecord -scanbus 2> /dev/null | grep \") '\" | grep -n \"\" | grep DVD | cut -d':' -f1")

If I execute it manually on a RHEL 6 machine, I get an error:

# cdrecord -scanbus 2> /dev/null | grep \") '\" 
-bash: syntax error near unexpected token `)'

I found this solution:

# cdrecord -scanbus 2> /dev/null | grep \)\ \'  
      0,0,0     0) 'TEAC    ' 'DV-W28E-RW      ' 'G.B2' Removable CD-ROM

Also, line 921, there is a "grep DVD"

I guess that it should be a "grep CD".

Otherwise, on my RHEL 6 results, I don't see the utility of the grep -n \"\"

# cdrecord -scanbus | grep \)\ \' | grep -n \"\"
#

Because there is no " in the results of dvdrecord nor in the results of cdrecord.

# dvdrecord -scanbus
scsibus0:
        0,0,0     0) 'TEAC    ' 'DV-W28E-RW      ' 'G.B2' Removable CD-ROM
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
# cdrecord -scanbus   
scsibus0:
        0,0,0     0) 'TEAC    ' 'DV-W28E-RW      ' 'G.B2' Removable CD-ROM
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *

Anyway cdrecord and dvdrecord are a link to wodim

# ls -l /usr/bin/dvdrecord
lrwxrwxrwx. 1 root root 36 Oct 11 16:23 /usr/bin/dvdrecord -> /etc/alternatives/cdrecord-dvdrecord
# ls -l /usr/bin/cdrecord 
lrwxrwxrwx. 1 root root 26 Oct 11 16:23 /usr/bin/cdrecord -> /etc/alternatives/cdrecord
# ls -l /etc/alternatives/cdrecord-dvdrecord
lrwxrwxrwx. 1 root root 14 Oct 11 16:23 /etc/alternatives/cdrecord-dvdrecord -> /usr/bin/wodim
# ls -l /etc/alternatives/cdrecord
lrwxrwxrwx. 1 root root 14 Oct 11 16:23 /etc/alternatives/cdrecord -> /usr/bin/wodim

As there is no : delimitator in the results, I suggest

# cdrecord -scanbus 2> /dev/null | grep \)\ \' | grep CD | cut -d' ' -f1 
        0,0,0

And the same for DVD, I cannot test but it should be

# dvdrecord -scanbus 2> /dev/null | grep \)\ \' | grep DVD | cut -d' ' -f1

Now, for blu-ray, maybe another test will be needed too.

#593 Bruno Cornec victor gattegno worksforme bug in mindi rcS file concerning OBDR detection
Description

It seems that there is a bug in mindi 3.0.1 rootfs/etc/init.d/rcS concerning OBDR detection.

rcS executes :

hpsa_obdr_mode -m query /dev/cciss/* 2>&1 | grep "is an OBDR device"

but that hpsa_obdr_mode command returns nothing, it needs "-v" to return the information.

So it has to be :

hpsa_obdr_mode -v -m query /dev/cciss/* 2>&1 | grep "is an OBDR device"
#594 Bruno Cornec Bruno Cornec fixed Bad network interface used at restore time via NFS
Description

On a dual NIC system, the MAC and eth interface used at restore time (and stored in the conf file) are not the right one.

mondoarchive should store in our case eth1 instead of eth0.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.