[SOLVED]new mounting routine for cdrom?
I don't seem to be able to mount my cdrom devices any longer (not machine specific). The error message is:
[thea@habicht ~]$ sudo mount /dev/cdrom /media/cd
mount: /dev/sr0 is write-protected, mounting read-only
mount: /dev/sr0: can't read superblock
My fstab file is:
<script src="http://pastebin.com/embed_js.php?i=4aZR7H80"></script>
Device sr0 is apparently not write-protected:
brw-rw----+ 1 root optical 11, 0 Dec 25 11:50 sr0
I do not use my cd devices often, so it is possible I missed something in recent updates. In any event have not made any cd-related changes since the last time I used them, when they worked fine.
Thanks and merry Christmas!
thea
Last edited by thea (2012-12-25 18:00:05)
You cannot write to an optical disk as you can to a flashdrive (use 'cp', 'mv' etc.), you have to use a CD/DVD burner (like cdrecord), right? Your fstab clearly says 'ro' - read only.
Use '-o ro' to get rid of the first warning:
$ sudo mount -o ro /dev/cdrom /media/cd
I don't know why are you getting
mount: /dev/sr0: can't read superblock
Similar Messages
-
Creation of a new Formula Routine for condition base value calculation
hello people,
i am stuck up in a situation where SAP has itself said that nothing can be done.
but i know you all can guide me to some way or the other
see, the scenario is like this
1. i have to calculate the base value for a pricing condition.
which will follow the formula
net value + excise duty + freight
2. in standard routines two things are normally bieng used
xkwert for the value that has to be finally calculated(taking reference of routine 004)
komp-netwr for the net value
3. i have to calculate the excise duty by adding up all the base values of existing pricing conditions like JMOP, JEC1 etc that i have which i saw in internal table
XKOMV on debugging
4. now freight is to be calculated from all the values of condition types that are in KOMP which is a structure and no internal table is defined in standard main program
now ppl
can you guide me by looking at the standard program
what is this xkwert field and where it is assigning the value.
how to get field from other structure and table.
please guide as to how to approach the problem.
thanks and regards
NitinHI,
the scenario u r talking abt is condition based value formuls of VOFM transaction.
here the data is retrieved as 'X' structures and will hold normal tables with respective names. and in this case all the pricing data is in KOMV ie XKOMV
Final amount including tax
form frm_kond_basis_004.
xkwert = komp-netwr + komp-mwsbp.
endform.
always calulation is done in xkwert field and final value is stoerd in xkomv.
*.................. text ............................................. *
Condition base value formula to get the assessable value of the *
saleable material from j_1iassval. If the value is not maintained *
then the selling price will be taken as the base *
TABLES: J_1IASSVAL.
DATA XXKOMV LIKE KOMV .
XXKOMV = XKOMV.
SELECT SINGLE * FROM J_1IASSVAL WHERE J_1IWERKS = KOMP-WERKS AND
J_1IMATNR = KOMP-MATNR.
IF SY-SUBRC EQ 0.
IF J_1IASSVAL-J_1IVALNDP NE 0.
XKWERT = J_1IASSVAL-J_1IVALNDP * KOMP-MGLME / 1000.
ENDIF.
IF J_1IASSVAL-J_1IVALASS NE 0.
XKWERT = J_1IASSVAL-J_1IVALASS * KOMP-MGLME / 1000.
ENDIF.
ELSE.
XKWERT = XXKOMV-KAWRT .
ENDIF .
XKOMV = XXKOMV .
ENDFORM.
and as far as ur req select allthe condition type data and sum and take the average value and pass it. -
[solved] new abs PKGBUILD for package kernel26...old kernel?
I was looking into the new PKGBUILD in the /var/abs/core/kernel26 folder, as I wanted to update my custom kernel. I was editing the new PKGBUILD when I saw something weird...references to kernel.org files and archlinux.org patch seems to be same as the 2.6.37 version. Is _basekernel value not updated? Am I wrong?
Take a look:
new PKGBUILD (I copied only relevant lines):
_basekernel=2.6.37
pkgver=${_basekernel}
pkgrel=6
_patchname="patch-${pkgver}-4-ARCH"
source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
ftp://ftp.archlinux.org/other/kernel26/${_patchname}.bz2
now...these is exactly the same as PKGBUILD for 2.6.37. But the new files are:
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.37.1.tar.bz2
ftp://ftp.archlinux.org/other/kernel26/patch-2.6.37.1-1-ARCH.bz2
If I am right, someone has to update variable values...
TIA
Gemon
Last edited by gemon (2011-02-21 22:17:23)well...I had time to check so...this is the content for the PKGBUILD after I run abs yesterday (pasted only relevant lines):
# $Id: PKGBUILD 109724 2011-02-12 08:01:06Z tpowa $
pkgbase="kernel26"
pkgname=('kernel26' 'kernel26-headers' 'kernel26-docs') # Build stock -ARCH kernel
_kernelname=${pkgname#kernel26}
_basekernel=2.6.37
pkgver=${_basekernel}
pkgrel=6
_patchname="patch-${pkgver}-4-ARCH"
this is the one I run tonight...looks updated now
# $Id: PKGBUILD 110322 2011-02-18 20:13:49Z tpowa $
pkgbase="kernel26"
pkgname=('kernel26' 'kernel26-headers' 'kernel26-docs') # Build stock -ARCH kernel
_kernelname=${pkgname#kernel26}
_basekernel=2.6.37
pkgver=${_basekernel}.1
pkgrel=1
_patchname="patch-${pkgver}-${pkgrel}-ARCH"
now patch filename and kernel sources correctly resolve to the latest ones.
but believe me, right after I had the 2.6.37.1-arch kernel, the abs PKGBUILD was outdated...probably it is updated after kernel package is released. doesn't matter
all in all...now it's ok
Gemon -
Hi All,
We have implemented BW on HANA System and it was all implemented as single instance on one Hardware, now we have to implement HANA in MCOS for DEV and QAS system.
The current file system is :
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 63G 11G 50G 18% /
devtmpfs 127G 280K 127G 1% /dev
tmpfs 213G 100K 213G 1% /dev/shm
/dev/sapmntdata 1.1T 16G 1.1T 2% /sapmnt
Need to know the new mount point for this for MCOS type implementation. Where our DEV and QAS will reside in the same HANA DB box.
Thanks,
Sharib
Message was edited by: Sharib TasneemHi All,
There is no separate Mount point needed for MCOS HANA system.
Need to provide log directory, data directory and Shared folder during MCOD creation.
Log Directory will be /<Shared directory>/log/SID2 which in our case was /sapmnt/log/SID2
Data Directory will be /Shared Directory>/data/SID2 which in our case was /sapmnt/data/SID2
And Shared location which is /sapmnt/ in our case.
Use HLM(HANA Life cycle management tool to create new HANA SID. It was like a Cake walk for Updateing HANA Revision, Client, etc.
Thanks and Regards,
Sharib
Note: You need to create SID2 directory inside the location and give appropriate permission to <SID1>ADM user to write over there.
Message was edited by: Sharib Tasneem -
Are there any wall mount brackets for the new iMac 27" 5k?
I have a wall mount (Bretford) for my Cinema HD Display that I have been using since 2008. I just purchased the new iMac 27inch 5k computer. It would be great to be able to use this computer with the wall mount. The ones that are available (VESA) from the apple store and say they will work with some older iMacs. My question is are there any available for the iMac I purchased? Thanks.
Hi. The VESA mounts for the iMacs are not "changeable": either you buy an iMac with a pedestal, either you buy one with a VESA mount, but you cannot switch, because the VESA mount is the first thing built in the iMac. You would need to sell your 5K iMac and buy a VESA 5K iMac.
iMac (Late 2012 and later): VESA mount compatibility - Apple Support -
How can i order a new printer head for my photoshop 7250e
How can i order a new printer head for my photoshop 7250e Is there a number i can ring to speak to someone or email address i can use or a web page where i can order one
or a list of agents i can use to get it from
Finding simple information seems impossible, no where does it mention spares or replacements
I have tried a lot of fault finding am convinced this is the problemHello NigelH1,
The Print Head for the Photosmart 7250 is not available outside HP.
Please call HP Tech Support for further assistance.
If you are in US , the toll free # is 1-800-474-6836 .
If you are not in US , then log on to www.hp.com , at bottom-left corner there is a world map icon, click on it and then select the region you belong to, which would then provide support options for you for that region.
Regards,
Jabzi
Give Kudos to say "thanks" by clicking on the "thumps Up icon" .
Click "Accept as Solution" if it solved your problem, so others can find it.
Although I am an HP employee, I am speaking for myself and not for HP. -
Error while generating CW kin for the new BG created for Taiwan
HiAll,
Please provide your help to resolve this issue,
Iam getting error while generating CW kin for the new BG created for Taiwan, China.
Error : Value TW is not a Valid context for the Descriptive Flexfield Person Developer DF.
Please let me know, is there any step missed to create CW kins for new BG's.
Thanks-
Sowmya.
Edited by: user13419037 on Jul 2, 2012 3:41 AMHello ,
Your solution can be solved by enabling the displayed check Box in Location Address DFF
Thanks
Bindu -
End routine for Currency conversion
Hi,
I have a requirement in which i have to convert sales and cost into three types of currency as GBP, INR and EUR in cube. i made 3 different fields for sales as well as for cost. But i am unable to write end routine for it.
Can anyone please help me that how can i solve this problem.
RomaHi,
In transformation itself you can do your currency conversion.
http://help.sap.com/saphelp_nw70/helpdata/en/de/6372426f0f9041e10000000a1550b0/content.htm
If you want to write a routine in to do conversion, you have to go for start routine instead of end routine.
Thanks
BVR -
How to add a new data element for existing table filed(Primary key field)
Hi Experts,
How to add a new data element for existing table field(Primary key field)
For this filed ther is no foreign key relation ships and even check table.
while activating table it is giving message like below.
can you help any one to solve this and wil steps to add new dataelement for existing primary key filed of a table.
Check table (NAMING SPACE/TABLE NAME(EX:/TC/VENDOR)) (username/19.02.10/03:29)
Primary key change not permitted for value table /TC/VENDOR
Check on table /TC/VENDOR resulted in errors
Thanks
RaviHi,
Easiest way is to download the table eg into an Excel table (if possible) or text table. Drop the table from the database. Build your table with the new key field. Build the database table again and fill it.
You can do it also over the database into a new table. Drop the old one. Build the enhanced one and fill it. Afterwards drop your (temporary) table.
Maybe there are other ways, but this works.
Success,
Rob -
Creating a new Master Page for new SharePoint 365 Environment
Hello,
If you create a new Master Page for your 365 site collection should all the Promoted Links, List Headings, etc. (standard items that are in the OOO SP Master Page) still remain the 'Blue SP Color' or are you able to change these items in the Master
Page as well? If someone needs additional information on my question please let me know.
Thank you in advance!
JoanieHi Joanie,
use those article to build your master page for office 365
http://rstagg.com/2013/04/17/office-365-branding-creating-a-custom-masterpage-for-your-office-365-public-facing-website/
http://msdn.microsoft.com/en-us/library/jj822370.aspx
Kind Regards,
John Naguib
Technical Consultant/Architect
MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation
Please remember to mark your question as answered if this solves your problem -
Proble while creating new Data Connection for the Webservice
Hai All,
when creating a new Data Conneciotn for the Webservice in the interactive form i got the following errror
Cannot choose this operation:
- there is no associated SOAP Binding
edit -> new Data Connection -> WSDL -> i entered the wsdl url -> i got the methods in that webservice
but when i select one of the method in the methods list i got above error
i developed a webservice in NWDS and deployed the WAS ( created a webservice for the session bean)
please help me to solve the problem
Thanks in advance
Siva Sankar NProblem was solved,
Downloading the WSDLs:
Download the 3 WSDL files from the WAS using the WS-navigator tool:
Go to http://<was-host>:50000/wsnavigator/enterwsdl.html
Select your WS
Click in the menu WSDLs
Download the default SAP WSDL
You will have 3 WSDL files in the downloaded zip files.
1) main.wsdl
2)config1_XXXXVi_document.wsdl
3_configl_document.wsdl
Perform the follwing task to the above wsdl files, and use this wsdl files to the datasource
1. Copy/paste the <wsdl:service> XML element from the main.wsdl to the Config1_SDN_adobeWSVi_document.wsdl.
2. Copy the <wsdl:binding> XML element from the Config1_document.wsdl to the Config1_SDN_adobeWSVi_document.wsdl.
3. Add the SOAP namespace (xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/") from the main.wsdl to the Config1_SDN_adobeWSVi_document.wsdl.
4. Adjust the namespace reference by replacing prt0 and bns0 with tns. -
Creation of MM Routine for Calculation of VAT
Hello People,
I am new to ABAP and currently stuckup in a situation involving the following scenario
TAXINN Procedure.
I have got two scenarios for VAT.
1)some vendors charge VAT on Base price+ Excise duty & then add freight.
which I have mapped.
2)In second scenario some vendors charge VAT on (Base price+ Excise duty + Freight). which I am unable to map.
how can i do it in TAXINN (condition based procedure)...
do i need to maintain a new calculation routine.
where to define/assign that routine.
the standard routines are assigned as an include program FV64A+0*
in a standard program.
please help
Thanks and Regards
NitinHi,
Take the Access Key to create a New routine and copy the similar routine which already exists, and modify it to suit your requirements.
Take the help of the function consultant in this regard to calculate this price related stuff.
regards,
Anji -
Can we create new partner types for quallity notifications in SAP system?
Can we create new partner types for quallity notifications in SAP system?
The business requirement is to limit the available entries for partners displayed when they search in quality notification. I have already created new partner functions & assigned the relevant partner types, however struggling with defining new partner types.
Would appreciate help in resolving this.
Thanks,
NileshI know this customisation setting ...It allows us to create the partner functions & assign it to the partner determination procedure.
Then you can assign the procedure to the notification type.
This customisation setting does not solve the problem I have.
I'm looking for the partner type creation process which we assign to the partner function.
Edited by: NILESH BHAVE on Aug 12, 2010 3:06 PM -
Where can i buy a new cooling fan for my Compaq Presario CQ61-330SO Notebook PC?
like the headline says.
Where can i buy a new cooling fan for my Compaq Presario CQ61-330SO Notebook PC?
it died almost a month ago and i have been searching for a new one since
I searched all over HP's website and cant find any information about that, not even the name of the fan.
som help here would be wary appreciatedHi,
You can order from here:
http://h20141.www2.hp.com/hpparts/?cc=US&lang=EN&jumpid=hpr_r1002_usen
and part # is in here (page #3-4):
http://h10032.www1.hp.com/ctg/Manual/c01868653.pdf
Regards.
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. -
ABAP Routine for 0FISCPER slect options in InfoPackage
Hi,
I am trying to write an ABAP Routine for 0FISCPER as select options (range) dynamically.
Ex:
0FISCPER selection for this year as 001.2008 to 012.2008
0FISCPER selection for next year as 001.2009 to 012.2009.
Now we are changing InfoPackage every year manually, so I need to write a routine for 0FISCPER in InfoPackage to handle dynamically every year
Thanks,
SK.Hi
write an ABAP routine to get that value..But are you getting any planned data(why you want till end of the year...till infopackage runs is o.k i think, if you don't have planned data)...Any way you can check the below code, which can be useful...
You can see the below code at->your infopackage selections>Ty-->choose variable type as 6 and enter any ABAP routine name( to create) and then there is a button on the application tool bar called 'routine info'..this give you the following information...
Definition
You can define complex selections for InfoPackages and control the automatic deletion of requests from InfoCubes in the scheduler, by using routines.
Routines are processing blocks in ABAP programs that consist of a pre-defined data declaration section and an ABAP subroutine (form routine). In the subroutine you can use all of the ABAP programming functions.
You can use the following routines for making selections in InfoPackages:
1. Selection routines for fields, on the Data Selection tab page
2. Selection routines for file names, on the External Data tab page
3. Selection Routines for selecting the from and to dates for time-dependent data, on tab page Update
4. Selection routines for determining old requests to be deleted after successfully loading a new request, on the Data Target tab page
Program frame:
After you have called up the Editor for routine maintenance, you get the following program frame:
1. Selection routines for fields, on tab page Data Selection:
program conversion_routine.
'$*$ begin of global - insert your declaration only below this line -
TABLES: ...
DATA: ...
$$ end of global - insert your declaration only before this line -
FORM COMPUTE_<Fieldname>
tables l_t_range structure rssdlrange
changing p_subrc like sy-subrc.
$$ begin of routine - insert your code only below this line -
data: l_idx like sy-tabix.
read table l_t_range with key
fieldname = <Fieldname>.
l_idx = sy-tabix.
modify l_t_range index l_idx.
p_subrc = 0.
$$ end of routine - insert your code only before this line -
ENDFORM.
2. Selection routines for file names, on tabstrip External Data:
FORM compute_flat_file_filename
changing p_filename like rsldpsel-filename
p_subrc like sy-subrc.
$$ begin of routine - insert your code only below this line-
p_filename =
p_subrc = 0.
$$ end of routine - insert your code only before this line-
ENDFORM.
3. Selection routines for selecting the from and to date for time-dependent data, on tabstrip Update:
form compute_time_dependent_dates
changing p_datefrom type d
p_dateto type d
p_subrc like sy-subrc.
$$ begin of routine - insert your code only below this line-
p_datefrom =
p_dateto =
p_subrc = 0.
$$ end of routine - insert your code only before this line-
ENDFORM.
4. Routines for determining the old requests to be deleted after successfully loading a new request, on tab page Data Targets:
form compute_<InfoCube-Name>
tables l_t_request_to_delete structure rsreqdelstruc
using l_request like rsreqdone-rnr
changing p_subrc like sy-subrc.
*Insert Source Code to decide if requests should be deleted.
*All Requests in table l_t_request_to_delete will be deleted
*from Infocube <InfoCube-Name>.
*Add new requests if you want to delete more (from this cube).
*Remove requests you did not want to be deleted.
$$ begin of routine - insert your code only below this line-
loop at l_t_request_to_delete.
endloop.
clear p_subrc.
$$ end of routine - insert your code only before this line-
ENDFORM.
Note:
Those fields flagged with <...> are dependent on the selection fields and are filled automatically by the system when you call up the Editor.
Procedure
Make the following entries:
1. Between $$ begin of global ... and $$ end of global ... you can define data declarations. These are the declaration sections for the local data in the routine. This data is only visible in the routines.
2. The subroutines begin with FORM and end with ENDFORM.
The subroutines for the particular routines are:
Selection routines for fields on tab page Data Selection: FORM COMPUTE_<Field name>
Selection routines for file names on tab page External Data : FORM compute_flat_file_filename
Selection routines for selecting the from and to dates for time-dependent data on tab page Update: FORM compute_time_dependent_dates
Routines for determining old requests to be deleted after successfully loading a new request on tab page Data Target: FORM COMPUTE_<InfoCube-Name>
The subprograms have the following parameters:
Subprogram FORM COMPUTE_<Field name>:
l_t_range
In the table l_t_range the routines for all selection fields that are filled, or have a routine, are made available.
The routines are executed in the scheduler last of all and therefore, you can change all the selections that you have carried out previously.
p_subrc
Using the variable p_subrc you can report errors to the scheduler. p_subrc <> 0 signals an error and means the data request is terminated.
Subprogram FORM compute_flat_file_filename:
p_filename:
You give the name of the file that is to be loaded in parameter p_filename.
This is useful if your file name contains date dependencies that should be determined by sy-datum and calculated during runtime.
p_subrc
You can inform the scheduler of an error with variable p_subrc. p_subrc <> 0 signals an error and means that the data request is terminated.
Subprogram FORM compute_time_dependent_dates:
p_datefrom and p_dateto
Fill these parameters with the from and to dates for time-dependent master data and texts.
p_subrc
You can inform the scheduler about an error using variable >LS>p_subrc. p_subrc <> 0 signals an error and means the data request is terminated.
Subprogram FORM COMPUTE_<InfoCube-Name>:
l_t_request_to_delete
You give the request number of the request that is to be deleted in parameter l_t_request_to_delete. You can also delete requests from the table. These are then not deleted.
p_subrc
You can inform the scheduler about an error with the variable p_subrc. p_subrc signals an error and means the data request is terminated.
3. Insert your program code for the routines between $$ begin of routine ... and $$ end of routine ... so that the respective subprogram variables are supplied with the corresponding values.
4. Check the syntax of your routine with the Check function.
5. You can then transfer the routine with the Save function.
You end routine maintenance when you exit the Editor.
Hope it helps
Thanks,
Teja
Maybe you are looking for
-
Send Correspondence Customer Statement Via Email
Hi SAP Gurus, Currently, I already succeed with user exit EXIT_RFKORIEX_001 to send customer statement (F.27) via email. The program can attached PDF Files in the email that sent by SAP. However, the email that sent is blank without body text. Does a
-
Changing the size of a JComboBox
Greetings, I am trying to build a mechanism to perform zooming on a JPanel with an arbitrary collection of components (including nested JPanels). I've tried a number of things with little success. The following is my most promising contraption. It ca
-
I recently bought I new iPod Touch 32gb, and It won't regognize on my computer (Mac Book Pro) I had the same problem with my previous touch but I shrugged it off as old age. any suggestions on what to do?
-
So you want to get your files out of Aperture? Simple yet scary solution.
To remove your files from Aperture try this. Select files you want to remove. Delete them, yes delete them. Go directly to trash and double click. Aperture folder in trash contains all of your deleted files and you can remove them all at once. Please
-
I recently added some new fonts to my directory. Since then, I have had font issues with my pdf's and previews where the characters are illegible. I have tried using disabling fonts on Font Book for pdfs, and tried using Font Finagler and FontNuke